[fix] patch
This commit is contained in:
parent
b6ac024576
commit
9e5df7aeff
1 changed files with 1 additions and 1 deletions
|
|
@ -2,6 +2,6 @@ import frappe
|
|||
|
||||
def execute():
|
||||
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` )
|
||||
""")
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue