* refactor: Workspace cleanup (cherry picked from commit243c49c550) # Conflicts: # erpnext/accounts/workspace/accounting/accounting.json # erpnext/assets/workspace/assets/assets.json * fix: Delete Retail and Utilities worspaces amd hide default Settings and Integration workspaces (cherry picked from commit0b28f641ad) * fix: Added pos links in Selling workspace (cherry picked from commit86f88817a9) * fix: removed duplicate links of manufacturing workspace (cherry picked from commit5cf4c8c8b7) * fix: Rearranged accounting module links (cherry picked from commite78a7de1e5) # Conflicts: # erpnext/accounts/workspace/accounting/accounting.json * chore: typo (cherry picked from commitbb67cc03df) * chore: conflicts --------- Co-authored-by: Nabin Hait <nabinhait@gmail.com> Co-authored-by: Ankush Menat <ankushmenat@gmail.com> Co-authored-by: Ankush Menat <ankush@frappe.io>
This commit is contained in:
9
erpnext/patches/v14_0/cleanup_workspaces.py
Normal file
9
erpnext/patches/v14_0/cleanup_workspaces.py
Normal file
@@ -0,0 +1,9 @@
|
||||
import frappe
|
||||
|
||||
|
||||
def execute():
|
||||
for ws in ["Retail", "Utilities"]:
|
||||
frappe.delete_doc_if_exists("Workspace", ws)
|
||||
|
||||
for ws in ["Integrations", "Settings"]:
|
||||
frappe.db.set_value("Workspace", ws, "public", 0)
|
||||
Reference in New Issue
Block a user