[fix] [minor] closed not in notifications

This commit is contained in:
Rushabh Mehta 2015-11-10 11:28:35 +05:30
parent 739aa4d51a
commit 8f228dd7f9

View File

@ -15,7 +15,7 @@ def get_notification_config():
"Opportunity": {"status": "Open"}, "Opportunity": {"status": "Open"},
"Quotation": {"docstatus": 0}, "Quotation": {"docstatus": 0},
"Sales Order": { "Sales Order": {
"status": ("not in", ("Stopped", "Completed")), "status": ("not in", ("Stopped", "Completed", "Closed")),
"docstatus": ("<", 2) "docstatus": ("<", 2)
}, },
"Journal Entry": {"docstatus": 0}, "Journal Entry": {"docstatus": 0},
@ -29,7 +29,7 @@ def get_notification_config():
"Stock Entry": {"docstatus": 0}, "Stock Entry": {"docstatus": 0},
"Material Request": {"docstatus": 0}, "Material Request": {"docstatus": 0},
"Purchase Order": { "Purchase Order": {
"status": ("not in", ("Stopped", "Completed")), "status": ("not in", ("Stopped", "Completed", "Closed")),
"docstatus": ("<", 2) "docstatus": ("<", 2)
}, },
"Production Order": { "status": "In Process" }, "Production Order": { "status": "In Process" },