feat: Added Exempted doctype list in hooks (#20260)

feat: Added Exempted doctype list in hooks
This commit is contained in:
Suraj Shetty 2020-01-15 12:39:42 +05:30 committed by GitHub
commit 3b0077c5e4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 = {
"all": [
"erpnext.projects.doctype.project.project.project_status_update_reminder"