From f67f163e7d06933e15bbffd3c0e0b7ede8724ee2 Mon Sep 17 00:00:00 2001 From: HarryPaulo Date: Tue, 2 Apr 2024 18:42:30 -0300 Subject: [PATCH 1/2] fix: notify update when update outstanding amount --- erpnext/accounts/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/accounts/utils.py b/erpnext/accounts/utils.py index b61f195c546..be8a8102407 100644 --- a/erpnext/accounts/utils.py +++ b/erpnext/accounts/utils.py @@ -1709,7 +1709,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: From 198b90eb01b41c79f3f6a2904d7532a53b09aec2 Mon Sep 17 00:00:00 2001 From: HarryPaulo Date: Tue, 2 Apr 2024 18:50:51 -0300 Subject: [PATCH 2/2] fix: notify update when update outstanding amount - Linters --- erpnext/accounts/utils.py | 1 + 1 file changed, 1 insertion(+) 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")