Skip to content

Commit 6c206c1

Browse files
Sanket322mergify[bot]
Sanket322
authored andcommitted
fix: ignore duplicate while creating default templates
(cherry picked from commit 9368485)
1 parent 6bb2b76 commit 6c206c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

erpnext/setup/setup_wizard/operations/taxes_setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ def get_or_create_tax_group(company_name, root_type):
292292

293293
tax_group_account.flags.ignore_links = True
294294
tax_group_account.flags.ignore_validate = True
295-
tax_group_account.insert(ignore_permissions=True)
295+
tax_group_account.insert(ignore_permissions=True, ignore_if_duplicate=True)
296296

297297
tax_group_name = tax_group_account.name
298298

0 commit comments

Comments
 (0)