Skip to content

Commit

Permalink
fix: ignore duplicate while creating default templates
Browse files Browse the repository at this point in the history
  • Loading branch information
Sanket322 committed Dec 25, 2024
1 parent 8bcfd24 commit 9368485
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion erpnext/setup/setup_wizard/operations/taxes_setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ def get_or_create_tax_group(company_name, root_type):

tax_group_account.flags.ignore_links = True
tax_group_account.flags.ignore_validate = True
tax_group_account.insert(ignore_permissions=True)
tax_group_account.insert(ignore_permissions=True, ignore_if_duplicate=True)

tax_group_name = tax_group_account.name

Expand Down

0 comments on commit 9368485

Please sign in to comment.