42 lines
1.4 KiB
Python
Raw Normal View History

# Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors
# License: GNU General Public License v3. See license.txt
from __future__ import unicode_literals
def get_notification_config():
return { "for_doctype":
{
2015-03-02 13:01:39 +05:30
"Issue": {"status": "Open"},
"Warranty Claim": {"status": "Open"},
"Task": {"status": "Overdue"},
"Project": {"status": "Open"},
2015-03-02 13:01:39 +05:30
"Lead": {"status": "Open"},
"Contact": {"status": "Open"},
2015-04-13 16:58:47 +05:30
"Opportunity": {"status": "Open"},
"Quotation": {"docstatus": 0},
2015-10-02 12:42:48 +05:30
"Sales Order": {
"status": ("not in", ("Stopped", "Completed", "Closed")),
2015-10-02 12:42:48 +05:30
"docstatus": ("<", 2)
},
2015-03-02 13:01:39 +05:30
"Journal Entry": {"docstatus": 0},
"Sales Invoice": { "outstanding_amount": (">", 0), "docstatus": ("<", 2) },
"Purchase Invoice": {"docstatus": 0},
"Leave Application": {"status": "Open"},
"Expense Claim": {"approval_status": "Draft"},
"Job Applicant": {"status": "Open"},
"Purchase Receipt": {"docstatus": 0},
"Delivery Note": {"docstatus": 0},
"Stock Entry": {"docstatus": 0},
"Material Request": {"docstatus": 0},
2015-10-02 12:42:48 +05:30
"Purchase Order": {
"status": ("not in", ("Stopped", "Completed", "Closed")),
2015-10-02 12:42:48 +05:30
"docstatus": ("<", 2)
},
"Production Order": { "status": "In Process" },
2015-03-02 13:01:39 +05:30
"BOM": {"docstatus": 0},
"Timesheet": {"docstatus": 0},
"Time Log": {"status": "Draft"},
2015-08-14 16:52:55 +05:30
"Time Log Batch": {"status": "Draft"}
}
}