mirror of
https://github.com/frappe/erpnext.git
synced 2026-04-13 03:45:08 +00:00
feat: Added docinfo for auto cancel exempt doctypes
This commit is contained in:
@@ -265,6 +265,8 @@ 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 exempt doctype it will cancel payment entry.
|
||||
auto_cancel_exempt_doctypes = [
|
||||
"Payment Entry"
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user