diff --git a/erpnext/setup/install.py b/erpnext/setup/install.py index 7d05e8d6fec..8cc1afa80ff 100644 --- a/erpnext/setup/install.py +++ b/erpnext/setup/install.py @@ -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():