mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-06 06:58:27 +00:00
fix for feature setup in install.py
This commit is contained in:
@@ -9,6 +9,7 @@ from frappe import _
|
||||
|
||||
def after_install():
|
||||
frappe.get_doc({'doctype': "Role", "role_name": "Analytics"}).insert()
|
||||
set_single_defaults()
|
||||
import_country_and_currency()
|
||||
from erpnext.accounts.doctype.chart_of_accounts.import_charts import import_charts
|
||||
import_charts()
|
||||
@@ -16,7 +17,6 @@ def after_install():
|
||||
feature_setup()
|
||||
from erpnext.setup.page.setup_wizard.setup_wizard import add_all_roles_to
|
||||
add_all_roles_to("Administrator")
|
||||
set_single_defaults()
|
||||
frappe.db.commit()
|
||||
|
||||
def import_country_and_currency():
|
||||
|
||||
Reference in New Issue
Block a user