[minor] [patch]

This commit is contained in:
Rushabh Mehta 2016-12-19 13:15:52 +05:30
parent a320b1a494
commit 688f2284af

View File

@ -7,13 +7,14 @@ import frappe
from erpnext.setup.setup_wizard import domainify
def execute():
frappe.reload_doctype('Role')
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: