commit | c32113918ea92038aae94461fd61e6bcc8ade626 | [log] [tgz] |
---|---|---|
author | marination <maricadsouza221197@gmail.com> | Thu Jun 15 20:04:54 2023 +0530 |
committer | marination <maricadsouza221197@gmail.com> | Thu Jun 15 20:04:54 2023 +0530 |
tree | e31890f6a8bb8e9131b3d4be7c59848cdd047dee | |
parent | 254bab33da379d223751149414921145a631981e [diff] [blame] |
fix: Updation of dunning on PE cancellation
diff --git a/erpnext/hooks.py b/erpnext/hooks.py index c821fcf..6d64f64 100644 --- a/erpnext/hooks.py +++ b/erpnext/hooks.py
@@ -334,6 +334,7 @@ "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": {