fix: Regional settings setup

This commit is contained in:
Deepesh Garg
2021-06-02 13:26:21 +05:30
parent a72589cb7e
commit 269510b98f
3 changed files with 15 additions and 4 deletions

View File

@@ -110,8 +110,8 @@ class Company(NestedSet):
self.create_default_warehouses()
if frappe.flags.country_change:
self.create_default_tax_template()
install_country_fixtures(self.name, self.country)
self.create_default_tax_template()
if not frappe.db.get_value("Department", {"company": self.name}):
from erpnext.setup.setup_wizard.operations.install_fixtures import install_post_company_fixtures