From b10d3c4da26613329e2f3e594a3b61d83126714d 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 (cherry picked from commit f67f163e7d06933e15bbffd3c0e0b7ede8724ee2) --- 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 3130ce54fda..a45c8378ce2 100644 --- a/erpnext/accounts/utils.py +++ b/erpnext/accounts/utils.py @@ -1707,7 +1707,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 f51481983d3fab7ed3c0cd5d93ee0ad6027aab39 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 (cherry picked from commit 198b90eb01b41c79f3f6a2904d7532a53b09aec2) --- erpnext/accounts/utils.py | 1 + 1 file changed, 1 insertion(+) diff --git a/erpnext/accounts/utils.py b/erpnext/accounts/utils.py index a45c8378ce2..04ea2cb8530 100644 --- a/erpnext/accounts/utils.py +++ b/erpnext/accounts/utils.py @@ -1709,6 +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: ple = qb.DocType("Payment Ledger Entry")