seitime-frappe/frappe/patches/v13_0/remove_web_view.py
2020-04-29 20:05:54 +05:30

6 lines
No EOL
196 B
Python

import frappe
def execute():
frappe.delete_doc_if_exists("DocType", "Web View")
frappe.delete_doc_if_exists("DocType", "Web View Component")
frappe.delete_doc_if_exists("DocType", "CSS Class")