Browse Source

fix: do not remove workspaces while app is uninstalled

(cherry picked from commit cab95e12f4)
version-14
Shariq Ansari 2 years ago
committed by Mergify
parent
commit
434ed3d153
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      frappe/desk/doctype/workspace/workspace.py

+ 1
- 0
frappe/desk/doctype/workspace/workspace.py View File

@@ -138,6 +138,7 @@ class Workspace(Document):
def disable_saving_as_public():
return (
frappe.flags.in_install
or frappe.flags.in_uninstall
or frappe.flags.in_patch
or frappe.flags.in_test
or frappe.flags.in_fixtures


Loading…
Cancel
Save