Skip to content

Commit

Permalink
Merge pull request #2367 from sagarvora/fix-iteration-err
Browse files Browse the repository at this point in the history
fix: check equality to avoid iteration error
  • Loading branch information
vorasmit committed Jul 9, 2024
2 parents 7daad6c + 4568dd2 commit 17cbea3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion india_compliance/gst_india/utils/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -565,7 +565,7 @@ def get_gst_account_gst_tax_type_map():
continue

account_key = account[:-8]
if "Reverse Charge" in row.get("account_type"):
if row.account_type and row.account_type.endswith("Reverse Charge"):
account_key = account_key + "_rcm"

gst_account_map[account_value] = account_key
Expand Down

0 comments on commit 17cbea3

Please sign in to comment.