mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-24 23:49:19 +00:00
New Setup Wizard
This commit is contained in:
@@ -13,13 +13,13 @@ def post_import():
|
||||
import_country_and_currency()
|
||||
|
||||
# home page
|
||||
webnotes.conn.set_value('Control Panel', None, 'home_page', 'desktop')
|
||||
webnotes.conn.set_value('Control Panel', None, 'home_page', 'setup-wizard')
|
||||
|
||||
# features
|
||||
feature_setup()
|
||||
|
||||
# all roles to Administrator
|
||||
from setup.doctype.setup_control.setup_control import add_all_roles_to
|
||||
from setup.page.setup_wizard.setup_wizard import add_all_roles_to
|
||||
add_all_roles_to("Administrator")
|
||||
|
||||
webnotes.conn.commit()
|
||||
|
||||
Reference in New Issue
Block a user