mirror of
https://github.com/frappe/erpnext.git
synced 2026-04-14 12:25:09 +00:00
Merge pull request #44904 from Sanket322/ignore_duplicate
fix: ignore duplicate while creating default templates
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user