[fix] setup-wizard
diff --git a/erpnext/public/js/setup_wizard.js b/erpnext/public/js/setup_wizard.js
index cb48c25..0163098 100644
--- a/erpnext/public/js/setup_wizard.js
+++ b/erpnext/public/js/setup_wizard.js
@@ -236,7 +236,7 @@
help: __("List your tax heads (e.g. VAT, Customs etc; they should have unique names) and their standard rates. This will create a standard template, which you can edit and add more later."),
add_more: 1,
max_count: 3,
- mandatory_entry: 1,
+ mandatory_entry: 0,
fields: [
{fieldtype:"Section Break"},
{fieldtype:"Data", fieldname:"tax", label:__("Tax"),
diff --git a/erpnext/setup/setup_wizard/setup_wizard.py b/erpnext/setup/setup_wizard/setup_wizard.py
index 8b218dd..4dec3d7 100644
--- a/erpnext/setup/setup_wizard/setup_wizard.py
+++ b/erpnext/setup/setup_wizard/setup_wizard.py
@@ -287,12 +287,9 @@
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):