Update set_portal_settings.py
This commit is contained in:
parent
ee25cf7ead
commit
0799969063
@ -10,6 +10,8 @@ def execute():
|
|||||||
for dt in ("assessment", "announcement", "course", "fees"):
|
for dt in ("assessment", "announcement", "course", "fees"):
|
||||||
frappe.reload_doc("schools", "doctype", dt)
|
frappe.reload_doc("schools", "doctype", dt)
|
||||||
|
|
||||||
|
frappe.reload_doc('website', 'doctype', 'portal_menu_item')
|
||||||
|
|
||||||
frappe.get_doc('Portal Settings').sync_menu()
|
frappe.get_doc('Portal Settings').sync_menu()
|
||||||
|
|
||||||
if 'schools' in frappe.get_installed_apps():
|
if 'schools' in frappe.get_installed_apps():
|
||||||
|
Loading…
Reference in New Issue
Block a user