fix: update outstanding amount and unpaid status on cancellation of payment entry
diff --git a/erpnext/accounts/utils.py b/erpnext/accounts/utils.py
index abf9b5e..e69dcd4 100644
--- a/erpnext/accounts/utils.py
+++ b/erpnext/accounts/utils.py
@@ -437,7 +437,7 @@
def reconcile_against_document(
- args, skip_ref_details_update_for_pe=False, is_reconcile=False
+ args, skip_ref_details_update_for_pe=False, is_reconcile=True
): # nosemgrep
"""
Cancel PE or JV, Update against document, split if required and resubmit