[fix] patch

This commit is contained in:
Rushabh Mehta 2017-07-11 11:00:10 +05:30
parent b6ac024576
commit 9e5df7aeff

View file

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