Skip to content

Commit

Permalink
fix: do not throw on "ignore_gst_validations"
Browse files Browse the repository at this point in the history
  • Loading branch information
ljain112 committed Apr 26, 2024
1 parent 0c77750 commit bb59e09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion india_compliance/gst_india/overrides/transaction.py
Original file line number Diff line number Diff line change
Expand Up @@ -1450,7 +1450,7 @@ def validate_company_address_field(doc):


def before_validate_transaction(doc, method=None):
if ignore_gst_validations(doc):
if ignore_gst_validations(doc, throw=False):
return False

if not doc.place_of_supply:
Expand Down

0 comments on commit bb59e09

Please sign in to comment.