From e6cfdb8e4deebe05360eed50d69d0af6019d063f Mon Sep 17 00:00:00 2001 From: Smit Vora Date: Tue, 21 Apr 2026 18:45:26 +0530 Subject: [PATCH] refactor: updated key for withholding_date (cherry picked from commit 07b023a934d85f3b209de2c8c714ac427e2bc1e8) --- .../report/tax_withholding_details/tax_withholding_details.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/erpnext/accounts/report/tax_withholding_details/tax_withholding_details.py b/erpnext/accounts/report/tax_withholding_details/tax_withholding_details.py index 4d385575d57..675be4f5a3e 100644 --- a/erpnext/accounts/report/tax_withholding_details/tax_withholding_details.py +++ b/erpnext/accounts/report/tax_withholding_details/tax_withholding_details.py @@ -220,8 +220,7 @@ def get_tax_withholding_entries(filters): IfNull(twe.lower_deduction_certificate, "").as_("lower_deduction_certificate"), IfNull(twe.withholding_doctype, "").as_("withholding_doctype"), IfNull(twe.withholding_name, "").as_("withholding_name"), - twe.withholding_date, - twe.status, + twe.withholding_date.as_("transaction_date"), ) .where(twe.docstatus == 1) .where(twe.withholding_date >= filters.from_date)