fix for feature setup in install.py

This commit is contained in:
Rushabh Mehta 2014-04-30 11:16:02 +05:30
parent 104c9f465d
commit 33003c6168

View File

@ -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():