fix: Check for supplier name
(cherry picked from commit 944e3d467c5ab0a2a4a76a8b532e53bca77f8e61)
This commit is contained in:
parent
881e091b85
commit
7f2dde7d94
@ -49,7 +49,7 @@ def get_result(filters, tds_docs, tds_accounts, tax_category_map):
|
||||
}
|
||||
|
||||
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({
|
||||
'section_code': tax_withholding_category,
|
||||
|
Loading…
Reference in New Issue
Block a user