Merge pull request #29033 from frappe/fix-iss-29032

fix: avoid `"string" in None` condition
This commit is contained in:
Deepesh Garg
2021-12-26 10:19:47 +05:30
committed by GitHub

View File

@@ -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