mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-12 06:48:31 +00:00
fix: ignore duplicate while creating default templates
(cherry picked from commit 9368485594)
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