mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-05 03:23:35 +00:00
fix: avoid "string" in None condition
This commit is contained in:
@@ -97,6 +97,8 @@ def execute():
|
||||
'itc_central_tax': 0,
|
||||
'itc_cess_amount': 0
|
||||
})
|
||||
if not gst_accounts:
|
||||
continue
|
||||
|
||||
if d.account_head in gst_accounts.get('igst_account'):
|
||||
amount_map[d.parent]['itc_integrated_tax'] += d.amount
|
||||
|
||||
Reference in New Issue
Block a user