diff --git a/erpnext/patches/v7_0/set_portal_settings.py b/erpnext/patches/v7_0/set_portal_settings.py index 3e3b7299a7..80d166b9aa 100644 --- a/erpnext/patches/v7_0/set_portal_settings.py +++ b/erpnext/patches/v7_0/set_portal_settings.py @@ -10,9 +10,11 @@ def execute(): for dt in ("assessment", "announcement", "course", "fees"): frappe.reload_doc("schools", "doctype", dt) + frappe.reload_doc('website', 'doctype', 'portal_menu_item') + frappe.get_doc('Portal Settings').sync_menu() if 'schools' in frappe.get_installed_apps(): domainify.setup_domain('Education') else: - domainify.setup_sidebar_items(domainify.get_domain('Manufacturing')) \ No newline at end of file + domainify.setup_sidebar_items(domainify.get_domain('Manufacturing'))