Skip to content

Commit

Permalink
fix: correct condition to evaluate if company was created
Browse files Browse the repository at this point in the history
(cherry picked from commit 3e3e106)
  • Loading branch information
vorasmit authored and mergify[bot] committed Oct 27, 2023
1 parent 7be3dca commit bfc0557
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion india_compliance/setup_wizard.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def setup_company_gstin_details(params):
if not params.company_gstin:
return

if not (params.company_name or frappe.db.exists("Company", params.company_name)):
if not (params.company_name and frappe.db.exists("Company", params.company_name)):
return

gstin_info = frappe._dict()
Expand Down

0 comments on commit bfc0557

Please sign in to comment.