Skip to content

Commit

Permalink
Merge pull request #1196 from resilient-tech/mergify/bp/version-14-ho…
Browse files Browse the repository at this point in the history
…tfix/pr-1195

fix: correct condition to evaluate if company was created (backport #1195)
  • Loading branch information
vorasmit authored Oct 27, 2023
2 parents 7be3dca + bfc0557 commit 4439dbd
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 4439dbd

Please sign in to comment.