[fix] patch
This commit is contained in:
parent
9e5df7aeff
commit
06f1eeff35
1 changed files with 1 additions and 1 deletions
|
|
@ -3,5 +3,5 @@ import frappe
|
|||
def execute():
|
||||
frappe.db.sql("""delete from `tabCustom DocPerm`
|
||||
where parent not in ( select name from `tabDocType` )
|
||||
and parent not in ( select name from `tabCustom Doctype` )
|
||||
and parent not in ( select name from `tabCustom DocType` )
|
||||
""")
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue