brotherton-erpnext/erpnext/patches/v5_0/portal_fixes.py

7 lines
169 B
Python

import frappe
import erpnext.setup.install
def execute():
frappe.reload_doc("website", "doctype", "web_form_field", force=True)
erpnext.setup.install.add_web_forms()