From 8f228dd7f9233d0d8b1b0cff76432984f7a909d9 Mon Sep 17 00:00:00 2001 From: Rushabh Mehta Date: Tue, 10 Nov 2015 11:28:35 +0530 Subject: [PATCH] [fix] [minor] closed not in notifications --- erpnext/startup/notifications.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/erpnext/startup/notifications.py b/erpnext/startup/notifications.py index b1b63b0cb8..4b5de233e5 100644 --- a/erpnext/startup/notifications.py +++ b/erpnext/startup/notifications.py @@ -15,7 +15,7 @@ def get_notification_config(): "Opportunity": {"status": "Open"}, "Quotation": {"docstatus": 0}, "Sales Order": { - "status": ("not in", ("Stopped", "Completed")), + "status": ("not in", ("Stopped", "Completed", "Closed")), "docstatus": ("<", 2) }, "Journal Entry": {"docstatus": 0}, @@ -29,7 +29,7 @@ def get_notification_config(): "Stock Entry": {"docstatus": 0}, "Material Request": {"docstatus": 0}, "Purchase Order": { - "status": ("not in", ("Stopped", "Completed")), + "status": ("not in", ("Stopped", "Completed", "Closed")), "docstatus": ("<", 2) }, "Production Order": { "status": "In Process" },