fix: Ignore validations for Tax Setup

This commit is contained in:
Deepesh Garg
2021-04-30 16:35:52 +05:30
parent a90e5fd2e1
commit 8fd2d8b5d0
3 changed files with 35 additions and 11 deletions

View File

@@ -110,7 +110,7 @@ class Company(NestedSet):
self.create_default_warehouses()
if frappe.flags.country_change:
install_country_fixtures(self.name)
install_country_fixtures(self.name, self.country)
self.create_default_tax_template()
if not frappe.db.get_value("Department", {"company": self.name}):