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):