From 8f8dd1c088823dd55013da7c79caf58afd73dc11 Mon Sep 17 00:00:00 2001 From: venkat102 Date: Tue, 17 Dec 2024 13:15:41 +0530 Subject: [PATCH] fix: fetch tax withholding category from the voucher (cherry picked from commit 09e64594dbd694e4a77b287a08d4e44fd2bc6aba) --- .../report/tax_withholding_details/tax_withholding_details.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 d6e0af0b5da..42c6c82b19f 100644 --- a/erpnext/accounts/report/tax_withholding_details/tax_withholding_details.py +++ b/erpnext/accounts/report/tax_withholding_details/tax_withholding_details.py @@ -405,7 +405,7 @@ def get_doc_info(vouchers, doctype, tax_category_map, net_total_map=None): "paid_amount_after_tax", "base_paid_amount", ], - "Journal Entry": ["total_debit"], + "Journal Entry": ["tax_withholding_category", "total_debit"], } entries = frappe.get_all(