mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-03 04:09:11 +00:00
Merge pull request #29034 from frappe/mergify/bp/version-13-hotfix/pr-29033
fix: avoid `"string" in None` condition (backport #29033)
This commit is contained in:
@@ -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