Skip to content

Commit

Permalink
fix: debug
Browse files Browse the repository at this point in the history
  • Loading branch information
vishakhdesai committed May 30, 2024
1 parent 69ba551 commit 68d4a16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion india_compliance/gst_india/doctype/gstin/gstin.py
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@ def validate_gst_transporter_id(transporter_id):
print("Line 358: GSTIN: ", gstin, "\n\n\n")

# If GSTIN status is not Active and transporter_id_status is None, use Transporter ID API
if gstin.status and gstin.status != "Active" and not gstin.transporter_id_status:
if gstin and gstin.status != "Active" and not gstin.transporter_id_status:
print("Line 362: GSTIN status not Active", "\n\n\n")
gstin = create_or_update_gstin_status(
transporter_id,
Expand Down

0 comments on commit 68d4a16

Please sign in to comment.