Rushabh Mehta | 3043079 | 2013-12-13 15:33:40 +0530 | [diff] [blame] | 1 | # Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. and Contributors |
| 2 | # License: GNU General Public License v3. See license.txt |
| 3 | |
| 4 | from __future__ import unicode_literals |
Rushabh Mehta | 793ba6b | 2014-02-14 15:47:51 +0530 | [diff] [blame] | 5 | import frappe |
Rushabh Mehta | 3043079 | 2013-12-13 15:33:40 +0530 | [diff] [blame] | 6 | |
| 7 | def get_notification_config(): |
| 8 | return { "for_doctype": |
| 9 | { |
Rushabh Mehta | bd9b62f | 2014-11-28 11:45:02 +0530 | [diff] [blame] | 10 | "Issue": {"status":"Open"}, |
Rushabh Mehta | 3043079 | 2013-12-13 15:33:40 +0530 | [diff] [blame] | 11 | "Customer Issue": {"status":"Open"}, |
| 12 | "Task": {"status":"Open"}, |
| 13 | "Lead": {"status":"Open"}, |
| 14 | "Contact": {"status":"Open"}, |
| 15 | "Opportunity": {"docstatus":0}, |
| 16 | "Quotation": {"docstatus":0}, |
| 17 | "Sales Order": {"docstatus":0}, |
| 18 | "Journal Voucher": {"docstatus":0}, |
| 19 | "Sales Invoice": {"docstatus":0}, |
| 20 | "Purchase Invoice": {"docstatus":0}, |
| 21 | "Leave Application": {"status":"Open"}, |
| 22 | "Expense Claim": {"approval_status":"Draft"}, |
| 23 | "Job Applicant": {"status":"Open"}, |
| 24 | "Purchase Receipt": {"docstatus":0}, |
| 25 | "Delivery Note": {"docstatus":0}, |
| 26 | "Stock Entry": {"docstatus":0}, |
| 27 | "Material Request": {"docstatus":0}, |
| 28 | "Purchase Order": {"docstatus":0}, |
| 29 | "Production Order": {"docstatus":0}, |
| 30 | "BOM": {"docstatus":0}, |
| 31 | "Timesheet": {"docstatus":0}, |
| 32 | "Time Log": {"status":"Draft"}, |
| 33 | "Time Log Batch": {"status":"Draft"}, |
| 34 | } |
| 35 | } |