fix: Updation of dunning on PE cancellation

This commit is contained in:
marination
2023-06-15 20:04:54 +05:30
parent 254bab33da
commit c32113918e
2 changed files with 21 additions and 15 deletions

View File

@@ -334,6 +334,7 @@ doc_events = {
"erpnext.accounts.doctype.payment_request.payment_request.update_payment_req_status",
"erpnext.accounts.doctype.dunning.dunning.resolve_dunning",
],
"on_cancel": ["erpnext.accounts.doctype.dunning.dunning.resolve_dunning"],
"on_trash": "erpnext.regional.check_deletion_permission",
},
"Address": {