diff --git a/erpnext/accounts/utils.py b/erpnext/accounts/utils.py index 3640bccbd172f369a80e4b5a2314caa32e4db3cd..b2e77097276154834640c9a4adcd4a575ee52d07 100644 --- a/erpnext/accounts/utils.py +++ b/erpnext/accounts/utils.py @@ -1730,9 +1730,10 @@ def update_voucher_outstanding(voucher_type, voucher_no, account, party_type, pa ) ref_doc.set_status(update=True) + ref_doc.notify_update() -def delink_original_entry(pl_entry): +def delink_original_entry(pl_entry, partial_cancel=False): if pl_entry: ple = qb.DocType("Payment Ledger Entry") query = (