mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-26 14:41:42 +01:00
fix: Error in TDS computation summary
(cherry picked from commit f12deae24b)
This commit is contained in:
committed by
mergify-bot
parent
4ad2b851c4
commit
2ea4c95f86
@@ -44,7 +44,7 @@ def get_result(filters, tds_docs, tds_accounts, tax_category_map):
|
||||
|
||||
if rate and tds_deducted:
|
||||
row = {
|
||||
'pan' if frappe.db.has_column('Supplier', 'pan') else 'tax_id': supplier_map.get(supplier).pan,
|
||||
'pan' if frappe.db.has_column('Supplier', 'pan') else 'tax_id': supplier_map.get(supplier, {}).get('pan'),
|
||||
'supplier': supplier_map.get(supplier).name
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user