소스 검색

fix: do not remove workspaces while app is uninstalled

(cherry picked from commit cab95e12f4)
version-14
Shariq Ansari 2 년 전
committed by Mergify
부모
커밋
434ed3d153
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. +1
    -0
      frappe/desk/doctype/workspace/workspace.py

+ 1
- 0
frappe/desk/doctype/workspace/workspace.py 파일 보기

@@ -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


불러오는 중...
취소
저장