mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-21 05:59:18 +00:00
feat: Added Exempted doctype list in hooks (#20260)
feat: Added Exempted doctype list in hooks
This commit is contained in:
@@ -264,6 +264,13 @@ doc_events = {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# On cancel event Payment Entry will be exempted and all linked submittable doctype will get cancelled.
|
||||||
|
# to maintain data integrity we exempted payment entry. it will un-link when sales invoice get cancelled.
|
||||||
|
# if payment entry not in auto cancel exempted doctypes it will cancel payment entry.
|
||||||
|
auto_cancel_exempted_doctypes= [
|
||||||
|
"Payment Entry"
|
||||||
|
]
|
||||||
|
|
||||||
scheduler_events = {
|
scheduler_events = {
|
||||||
"all": [
|
"all": [
|
||||||
"erpnext.projects.doctype.project.project.project_status_update_reminder"
|
"erpnext.projects.doctype.project.project.project_status_update_reminder"
|
||||||
|
|||||||
Reference in New Issue
Block a user