commit | bb6d1de2211e7f74ed1d9b9e3542939f743c940f | [log] [tgz] |
---|---|---|
author | Deepesh Garg <42651287+deepeshgarg007@users.noreply.github.com> | Sun Dec 26 10:19:47 2021 +0530 |
committer | GitHub <noreply@github.com> | Sun Dec 26 10:19:47 2021 +0530 |
tree | 949838c20b2c6b3ebce70b7963857eb07dbcd1de | |
parent | 85d47e809bb1b59c8ddd677ba422eedf4347335a [diff] | |
parent | 52397c97714fd5fd5ef75b32908006fc7c9af1e0 [diff] |
Merge pull request #29033 from frappe/fix-iss-29032 fix: avoid `"string" in None` condition
diff --git a/erpnext/patches/v12_0/create_itc_reversal_custom_fields.py b/erpnext/patches/v12_0/create_itc_reversal_custom_fields.py index d157aad..d4fbded 100644 --- a/erpnext/patches/v12_0/create_itc_reversal_custom_fields.py +++ b/erpnext/patches/v12_0/create_itc_reversal_custom_fields.py
@@ -97,6 +97,8 @@ '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