brotherton-erpnext/erpnext/patches/v6_8/make_webform_standard.py

10 lines
217 B
Python
Raw Normal View History

import frappe
def execute():
frappe.reload_doctype("Web Form")
frappe.delete_doc("Web Form", "Issues")
frappe.delete_doc("Web Form", "Addresses")
from erpnext.setup.install import add_web_forms
add_web_forms()