commit | 3051f6e7f27a23da35d47356fbb2550633f80a5e | [log] [tgz] |
---|---|---|
author | Rucha Mahabal <ruchamahabal2@gmail.com> | Thu Jun 30 21:37:55 2022 +0530 |
committer | Rucha Mahabal <ruchamahabal2@gmail.com> | Thu Jun 30 21:37:55 2022 +0530 |
tree | 61720a6454514a578e27cbc91289420f36b887c6 | |
parent | 9f7511d6bf74feffca9b9dcd2cd285d90fcd0975 [diff] |
fix: Update triggers on Payment Reconciliation
diff --git a/erpnext/accounts/utils.py b/erpnext/accounts/utils.py index 8daff9d..64a1273 100644 --- a/erpnext/accounts/utils.py +++ b/erpnext/accounts/utils.py
@@ -461,7 +461,8 @@ frappe.flags.ignore_party_validation = False if entry.voucher_type in ("Payment Entry", "Journal Entry"): - doc.update_expense_claim() + if hasattr(doc, "update_expense_claim"): + doc.update_expense_claim() def check_if_advance_entry_modified(args):