mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-09 16:12:53 +00:00
fix: remove redundant calls to create_sales_tax
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user