fix: notify update when update outstanding amount - Linters

This commit is contained in:
HarryPaulo
2024-04-02 18:50:51 -03:00
parent f67f163e7d
commit 198b90eb01

View File

@@ -1711,6 +1711,7 @@ def update_voucher_outstanding(voucher_type, voucher_no, account, party_type, pa
ref_doc.set_status(update=True) ref_doc.set_status(update=True)
ref_doc.notify_update() ref_doc.notify_update()
def delink_original_entry(pl_entry, partial_cancel=False): def delink_original_entry(pl_entry, partial_cancel=False):
if pl_entry: if pl_entry:
ple = qb.DocType("Payment Ledger Entry") ple = qb.DocType("Payment Ledger Entry")