diff --git a/erpnext/patches/v5_0/portal_fixes.py b/erpnext/patches/v5_0/portal_fixes.py index b01064fc86..d80869221a 100644 --- a/erpnext/patches/v5_0/portal_fixes.py +++ b/erpnext/patches/v5_0/portal_fixes.py @@ -2,5 +2,5 @@ import frappe import erpnext.setup.install def execute(): - frappe.reload_doctype("Web Form Field") + frappe.reload_doc("website", "doctype", "web_form_field", force=True) erpnext.setup.install.add_web_forms()