[fix] setup-wizard

This commit is contained in:
Rushabh Mehta
2017-07-20 15:55:54 +05:30
parent 51a76885b8
commit ced14cc789
2 changed files with 4 additions and 7 deletions

View File

@@ -287,12 +287,9 @@ def make_tax_account_and_template(company, account_name, tax_rate, template_name
if accounts:
make_sales_and_purchase_tax_templates(accounts, template_name)
except frappe.NameError, e:
if e.args[2][0]==1062:
pass
else:
raise
except RootNotEditable, e:
except frappe.NameError:
pass
except RootNotEditable:
pass
def get_tax_account_group(company):