From f4d1b18895838b2b9dba779a6e543294f41c3b8e Mon Sep 17 00:00:00 2001 From: Rushabh Mehta Date: Mon, 11 Apr 2016 11:34:59 +0530 Subject: [PATCH] [hooks] notify party on_change --- erpnext/hooks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/hooks.py b/erpnext/hooks.py index 1a521c65d7..9fc017585f 100644 --- a/erpnext/hooks.py +++ b/erpnext/hooks.py @@ -137,7 +137,7 @@ doc_events = { # bubble transaction notification on master ('Opportunity', 'Quotation', 'Sales Order', 'Sales Invoice', 'Supplier Quotation', 'Purchase Order', 'Purchase Invoice', 'Project', 'Issue'): { - 'on_update': 'erpnext.accounts.party_status.notify_status' + 'on_change': 'erpnext.accounts.party_status.notify_status' } }