Skip to content

Commit

Permalink
fix: correct condition for gstr-1
Browse files Browse the repository at this point in the history
  • Loading branch information
vorasmit committed Aug 10, 2023
1 parent 64ce660 commit 351fb7a
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions india_compliance/gst_india/report/gstr_1/gstr_1.py
Original file line number Diff line number Diff line change
Expand Up @@ -447,9 +447,11 @@ def get_items_based_on_tax_rate(self):
if not item_wise_tax_detail:
continue

if "gst" in account.lower() and account not in self.gst_accounts.values():
unidentified_gst_accounts.add(account)
unidentified_gst_accounts_invoice.add(parent)
if account not in self.gst_accounts.values():
if "gst" in account.lower():
unidentified_gst_accounts.add(account)
unidentified_gst_accounts_invoice.add(parent)

continue

try:
Expand Down

0 comments on commit 351fb7a

Please sign in to comment.