[fix] patch

This commit is contained in:
Rushabh Mehta 2017-07-11 11:01:05 +05:30
parent 9e5df7aeff
commit 06f1eeff35

View file

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