mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-09 16:21:19 +00:00
refactor: track completed app setup wizards and re-run the setup wizard upon new app installation. (#47691)
This commit is contained in:
@@ -35,13 +35,6 @@ def after_install():
|
||||
frappe.db.commit()
|
||||
|
||||
|
||||
def check_setup_wizard_not_completed():
|
||||
if cint(frappe.db.get_single_value("System Settings", "setup_complete") or 0):
|
||||
message = """ERPNext can only be installed on a fresh site where the setup wizard is not completed.
|
||||
You can reinstall this site (after saving your data) using: bench --site [sitename] reinstall"""
|
||||
frappe.throw(message) # nosemgrep
|
||||
|
||||
|
||||
def make_default_operations():
|
||||
for operation in ["Assembly"]:
|
||||
if not frappe.db.exists("Operation", operation):
|
||||
|
||||
Reference in New Issue
Block a user