fix: do not remove workspaces while app is uninstalled
This commit is contained in:
parent
7331e3a7be
commit
cab95e12f4
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Reference in a new issue