From ef195513d0056f9b8069532e310e4902f469c564 Mon Sep 17 00:00:00 2001 From: Sanket Shah <113279972+Sanket322@users.noreply.github.com> Date: Mon, 3 Mar 2025 21:38:11 +0530 Subject: [PATCH] fix: Convert tuple of tuples to list of dicts for dot notation access (#46062) fix: use as_dict to convert tuples into list of dict Co-authored-by: Sanket322 (cherry picked from commit e4b0ab6656e9caf5d22fdc8ee8ac400cc99c1c9d) --- .../doctype/tax_withholding_category/tax_withholding_category.py | 1 + 1 file changed, 1 insertion(+) diff --git a/erpnext/accounts/doctype/tax_withholding_category/tax_withholding_category.py b/erpnext/accounts/doctype/tax_withholding_category/tax_withholding_category.py index 06549973242..a355e5ddf44 100644 --- a/erpnext/accounts/doctype/tax_withholding_category/tax_withholding_category.py +++ b/erpnext/accounts/doctype/tax_withholding_category/tax_withholding_category.py @@ -436,6 +436,7 @@ def get_invoice_vouchers(parties, tax_details, company, party_type="Supplier"): tax_details.get("tax_withholding_category"), company, ), + as_dict=1, ) for d in journal_entries_details: