[minor] remove party status as it leads to duplicate notifications fixes #7346, also fix for #7568

This commit is contained in:
Rushabh Mehta
2017-01-30 12:29:54 +05:30
parent d893efd0a9
commit 87037bdd56
15 changed files with 194 additions and 310 deletions

View File

@@ -11,8 +11,6 @@ def get_notification_config():
"Task": {"status": "Overdue"},
"Project": {"status": "Open"},
"Item": {"total_projected_qty": ("<", 0)},
"Customer": {"status": "Open"},
"Supplier": {"status": "Open"},
"Lead": {"status": "Open"},
"Contact": {"status": "Open"},
"Opportunity": {"status": "Open"},
@@ -23,11 +21,11 @@ def get_notification_config():
},
"Journal Entry": {"docstatus": 0},
"Sales Invoice": {
"outstanding_amount": (">", 0),
"docstatus": ("<", 2)
"outstanding_amount": (">", 0),
"docstatus": ("<", 2)
},
"Purchase Invoice": {
"outstanding_amount": (">", 0),
"outstanding_amount": (">", 0),
"docstatus": ("<", 2)
},
"Payment Entry": {"docstatus": 0},