Skip to content

Commit

Permalink
fix: ignore validate_for_invalid_account_type for SEZ
Browse files Browse the repository at this point in the history
  • Loading branch information
vishakhdesai committed Aug 16, 2024
1 parent 870cfd9 commit 1b94ed8
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions india_compliance/gst_india/overrides/transaction.py
Original file line number Diff line number Diff line change
Expand Up @@ -435,6 +435,12 @@ def validate_for_invalid_account_type(self):
- Intra-State supplies should not have IGST account
- If Intra-State, ensure both CGST and SGST accounts are used
"""
if (
frappe.db.get_value("Address", self.doc.company_address, "gst_category")
== "SEZ"
):
return

is_inter_state = is_inter_state_supply(self.doc)

for row in self.gst_tax_rows:
Expand Down

0 comments on commit 1b94ed8

Please sign in to comment.