From f219c18fe6c521fd539724e51c9bd51ea7503e9e Mon Sep 17 00:00:00 2001 From: Conn Campbell Date: Mon, 20 Jan 2025 00:08:27 -0700 Subject: [PATCH] fix: Bank Reconciliation tool fails with KeyError: 'payment_doctype' (#2592) (cherry picked from commit 76cbd4aaf9d4a2b649bac2bff223be11d3d8bd0f) --- hrms/hr/utils.py | 1 + 1 file changed, 1 insertion(+) diff --git a/hrms/hr/utils.py b/hrms/hr/utils.py index ba45c2387e..587a052446 100644 --- a/hrms/hr/utils.py +++ b/hrms/hr/utils.py @@ -796,6 +796,7 @@ def get_ec_matching_query( qb.from_(ec) .select( ref_rank.as_("rank"), + ConstantColumn("Expense Claim").as_("doctype"), ec.name, ec.total_sanctioned_amount.as_("paid_amount"), ConstantColumn("").as_("reference_no"),