commit | 2c214e03623f174b56caed129b76da172d655c73 | [log] [tgz] |
---|---|---|
author | Nabin Hait <nabinhait@gmail.com> | Wed Jun 03 17:41:55 2015 +0530 |
committer | Nabin Hait <nabinhait@gmail.com> | Wed Jun 03 17:42:12 2015 +0530 |
tree | 090bc7b25d7bd52f1594481d9a038c2f34573c40 | |
parent | 7d04dd0bfd3cf2edb8e98f763d242ec2db302f57 [diff] |
[fix][patch] force reload web-form-field in portal fixes patch
diff --git a/erpnext/patches/v5_0/portal_fixes.py b/erpnext/patches/v5_0/portal_fixes.py index b01064f..d808692 100644 --- a/erpnext/patches/v5_0/portal_fixes.py +++ b/erpnext/patches/v5_0/portal_fixes.py
@@ -2,5 +2,5 @@ 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()