From 3051f6e7f27a23da35d47356fbb2550633f80a5e Mon Sep 17 00:00:00 2001 From: Rucha Mahabal Date: Thu, 30 Jun 2022 21:37:55 +0530 Subject: [PATCH] fix: Update triggers on Payment Reconciliation --- erpnext/accounts/utils.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/erpnext/accounts/utils.py b/erpnext/accounts/utils.py index 8daff9d193..64a1273e34 100644 --- a/erpnext/accounts/utils.py +++ b/erpnext/accounts/utils.py @@ -461,7 +461,8 @@ def reconcile_against_document(args): 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):