mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-25 16:04:46 +00:00
fix: avoid "string" in None condition
(cherry picked from commit 52397c9771)
This commit is contained in:
committed by
mergify-bot
parent
3f6d9336b5
commit
f92cdbbbf3
@@ -98,6 +98,8 @@ def execute():
|
|||||||
'itc_central_tax': 0,
|
'itc_central_tax': 0,
|
||||||
'itc_cess_amount': 0
|
'itc_cess_amount': 0
|
||||||
})
|
})
|
||||||
|
if not gst_accounts:
|
||||||
|
continue
|
||||||
|
|
||||||
if d.account_head in gst_accounts.get('igst_account'):
|
if d.account_head in gst_accounts.get('igst_account'):
|
||||||
amount_map[d.parent]['itc_integrated_tax'] += d.amount
|
amount_map[d.parent]['itc_integrated_tax'] += d.amount
|
||||||
|
|||||||
Reference in New Issue
Block a user