2013-12-13 10:03:40 +00:00
|
|
|
# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. and Contributors
|
|
|
|
# License: GNU General Public License v3. See license.txt
|
|
|
|
|
|
|
|
from __future__ import unicode_literals
|
2014-02-14 10:17:51 +00:00
|
|
|
import frappe
|
2013-12-13 10:03:40 +00:00
|
|
|
|
|
|
|
def get_notification_config():
|
|
|
|
return { "for_doctype":
|
|
|
|
{
|
2014-11-28 06:15:02 +00:00
|
|
|
"Issue": {"status":"Open"},
|
2015-02-17 05:15:50 +00:00
|
|
|
"Warranty Claim": {"status":"Open"},
|
2013-12-13 10:03:40 +00:00
|
|
|
"Task": {"status":"Open"},
|
|
|
|
"Lead": {"status":"Open"},
|
|
|
|
"Contact": {"status":"Open"},
|
|
|
|
"Opportunity": {"docstatus":0},
|
|
|
|
"Quotation": {"docstatus":0},
|
|
|
|
"Sales Order": {"docstatus":0},
|
2014-12-25 11:44:18 +00:00
|
|
|
"Journal Entry": {"docstatus":0},
|
2013-12-13 10:03:40 +00:00
|
|
|
"Sales Invoice": {"docstatus":0},
|
|
|
|
"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},
|
|
|
|
"Purchase Order": {"docstatus":0},
|
|
|
|
"Production Order": {"docstatus":0},
|
|
|
|
"BOM": {"docstatus":0},
|
|
|
|
"Timesheet": {"docstatus":0},
|
|
|
|
"Time Log": {"status":"Draft"},
|
|
|
|
"Time Log Batch": {"status":"Draft"},
|
|
|
|
}
|
|
|
|
}
|