fix(minor): remove "hide_workspaces" from erpnext/install.py
This commit is contained in:
parent
4e28b5a199
commit
b250a21a2b
@ -31,7 +31,6 @@ def after_install():
|
||||
add_company_to_session_defaults()
|
||||
add_standard_navbar_items()
|
||||
add_app_name()
|
||||
hide_workspaces()
|
||||
update_roles()
|
||||
frappe.db.commit()
|
||||
|
||||
@ -218,11 +217,6 @@ def add_app_name():
|
||||
frappe.db.set_single_value("System Settings", "app_name", "ERPNext")
|
||||
|
||||
|
||||
def hide_workspaces():
|
||||
for ws in ["Integration", "Settings"]:
|
||||
frappe.db.set_value("Workspace", ws, "public", 0)
|
||||
|
||||
|
||||
def update_roles():
|
||||
website_user_roles = ("Customer", "Supplier")
|
||||
for role in website_user_roles:
|
||||
|
Loading…
x
Reference in New Issue
Block a user