From 4d9d66d916d1cd37131be16691a3f40a7810016a Mon Sep 17 00:00:00 2001 From: Rushabh Mehta Date: Tue, 11 Jul 2017 11:04:45 +0530 Subject: [PATCH] [fix] patch --- .../patches/v8_1/delete_custom_docperm_if_doctype_not_exists.py | 1 - 1 file changed, 1 deletion(-) diff --git a/frappe/patches/v8_1/delete_custom_docperm_if_doctype_not_exists.py b/frappe/patches/v8_1/delete_custom_docperm_if_doctype_not_exists.py index ce6bc31364..6b0b731978 100644 --- a/frappe/patches/v8_1/delete_custom_docperm_if_doctype_not_exists.py +++ b/frappe/patches/v8_1/delete_custom_docperm_if_doctype_not_exists.py @@ -3,5 +3,4 @@ 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` ) """)