Browse Source
Merge pull request #29033 from frappe/fix-iss-29032
fix: avoid `"string" in None` condition
develop
Deepesh Garg
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
0 deletions
-
erpnext/patches/v12_0/create_itc_reversal_custom_fields.py
|
|
@ -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 |
|
|
|