[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."),
|
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,
|
add_more: 1,
|
||||||
max_count: 3,
|
max_count: 3,
|
||||||
mandatory_entry: 1,
|
mandatory_entry: 0,
|
||||||
fields: [
|
fields: [
|
||||||
{fieldtype:"Section Break"},
|
{fieldtype:"Section Break"},
|
||||||
{fieldtype:"Data", fieldname:"tax", label:__("Tax"),
|
{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:
|
if accounts:
|
||||||
make_sales_and_purchase_tax_templates(accounts, template_name)
|
make_sales_and_purchase_tax_templates(accounts, template_name)
|
||||||
except frappe.NameError, e:
|
except frappe.NameError:
|
||||||
if e.args[2][0]==1062:
|
pass
|
||||||
pass
|
except RootNotEditable:
|
||||||
else:
|
|
||||||
raise
|
|
||||||
except RootNotEditable, e:
|
|
||||||
pass
|
pass
|
||||||
|
|
||||||
def get_tax_account_group(company):
|
def get_tax_account_group(company):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user