From 9786faa862af9361eef2b01c3f543204443384a1 Mon Sep 17 00:00:00 2001 From: Rushabh Mehta Date: Tue, 9 Sep 2014 17:33:27 +0530 Subject: [PATCH] [refactor] hooks.py fixes --- erpnext/hooks.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/erpnext/hooks.py b/erpnext/hooks.py index 6c09030706c..0230126218e 100644 --- a/erpnext/hooks.py +++ b/erpnext/hooks.py @@ -26,15 +26,6 @@ website_generators = ["Item Group", "Item", "Sales Partner"] standard_queries = "Customer:erpnext.selling.doctype.customer.customer.get_customer_list" -permission_query_conditions = { - "Note": "erpnext.utilities.doctype.note.note.get_permission_query_conditions" - } - -has_permission = { - "Note": "erpnext.utilities.doctype.note.note.has_permission" - } - - doc_events = { "Stock Entry": { "on_submit": "erpnext.stock.doctype.material_request.material_request.update_completed_qty",