mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-25 16:04:46 +00:00
fix: Check for supplier name
This commit is contained in:
@@ -49,7 +49,7 @@ def get_result(filters, tds_docs, tds_accounts, tax_category_map):
|
|||||||
}
|
}
|
||||||
|
|
||||||
if filters.naming_series == 'Naming Series':
|
if filters.naming_series == 'Naming Series':
|
||||||
row.update({'supplier_name': supplier_map.get(supplier).supplier_name})
|
row.update({'supplier_name': supplier_map.get(supplier, {}).get('supplier_name')})
|
||||||
|
|
||||||
row.update({
|
row.update({
|
||||||
'section_code': tax_withholding_category,
|
'section_code': tax_withholding_category,
|
||||||
|
|||||||
Reference in New Issue
Block a user