|
|
@@ -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` ) |
|
|
|
""") |