浏览代码

[fix] patch

version-14
Rushabh Mehta 8 年前
父节点
当前提交
4d9d66d916
共有 1 个文件被更改,包括 0 次插入1 次删除
  1. +0
    -1
      frappe/patches/v8_1/delete_custom_docperm_if_doctype_not_exists.py

+ 0
- 1
frappe/patches/v8_1/delete_custom_docperm_if_doctype_not_exists.py 查看文件

@@ -3,5 +3,4 @@ import frappe
def execute(): def execute():
frappe.db.sql("""delete from `tabCustom DocPerm` frappe.db.sql("""delete from `tabCustom DocPerm`
where parent not in ( select name from `tabDocType` ) where parent not in ( select name from `tabDocType` )
and parent not in ( select name from `tabCustom DocType` )
""") """)

正在加载...
取消
保存