fix: remove redundant calls to create_sales_tax

This commit is contained in:
barredterra
2021-03-04 19:29:55 +01:00
parent 82c6223196
commit dcfc3d7d12
3 changed files with 2 additions and 8 deletions

View File

@@ -6,15 +6,13 @@ from __future__ import unicode_literals
import frappe, os, json
from frappe.custom.doctype.custom_field.custom_field import create_custom_fields
from frappe.permissions import add_permission, update_permission_property
from erpnext.setup.setup_wizard.operations.taxes_setup import create_sales_tax
def setup(company=None, patch=True):
make_custom_fields()
add_print_formats()
add_custom_roles_for_reports()
add_permissions()
if company:
create_sales_tax(company)
def make_custom_fields():
is_zero_rated = dict(fieldname='is_zero_rated', label='Is Zero Rated',