This website works better with JavaScript.
Home
Explore
Help
Sign In
anoopmb
/
frappe
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
[fix] patch
version-14
Rushabh Mehta
8 years ago
parent
06f1eeff35
commit
4d9d66d916
1 changed files
with
0 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+0
-1
frappe/patches/v8_1/delete_custom_docperm_if_doctype_not_exists.py
+ 0
- 1
frappe/patches/v8_1/delete_custom_docperm_if_doctype_not_exists.py
View File
@@ -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` )
""")
Write
Preview
Loading…
Cancel
Save