diff --git a/erpnext/accounts/utils.py b/erpnext/accounts/utils.py index be8a8102407..964d5ee188d 100644 --- a/erpnext/accounts/utils.py +++ b/erpnext/accounts/utils.py @@ -1711,6 +1711,7 @@ 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, partial_cancel=False): if pl_entry: ple = qb.DocType("Payment Ledger Entry")