[fix] setup-wizard
This commit is contained in:
parent
51a76885b8
commit
ced14cc789
@ -236,7 +236,7 @@ var erpnext_slides = [
|
||||
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"),
|
||||
|
@ -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):
|
||||
|
Loading…
x
Reference in New Issue
Block a user