[fix] sales order notification
This commit is contained in:
parent
72cd206286
commit
c03cba9d17
@ -15,8 +15,7 @@ def get_notification_config():
|
|||||||
"Opportunity": {"status": "Open"},
|
"Opportunity": {"status": "Open"},
|
||||||
"Quotation": {"docstatus": 0},
|
"Quotation": {"docstatus": 0},
|
||||||
"Sales Order": {
|
"Sales Order": {
|
||||||
"status": ("!=", "Stopped"),
|
"status": ("not in", ("Stopped", "Completed")),
|
||||||
"status": ("!=", "Completed"),
|
|
||||||
"docstatus": ("<", 2)
|
"docstatus": ("<", 2)
|
||||||
},
|
},
|
||||||
"Journal Entry": {"docstatus": 0},
|
"Journal Entry": {"docstatus": 0},
|
||||||
@ -30,8 +29,7 @@ def get_notification_config():
|
|||||||
"Stock Entry": {"docstatus": 0},
|
"Stock Entry": {"docstatus": 0},
|
||||||
"Material Request": {"docstatus": 0},
|
"Material Request": {"docstatus": 0},
|
||||||
"Purchase Order": {
|
"Purchase Order": {
|
||||||
"status": ("!=", "Completed"),
|
"status": ("not in", ("Stopped", "Completed")),
|
||||||
"status": ("!=", "Stopped"),
|
|
||||||
"docstatus": ("<", 2)
|
"docstatus": ("<", 2)
|
||||||
},
|
},
|
||||||
"Production Order": { "status": "In Process" },
|
"Production Order": { "status": "In Process" },
|
||||||
|
Loading…
x
Reference in New Issue
Block a user