From 39671e22c9c2af55ddc15bab0d07c96a997b96f1 Mon Sep 17 00:00:00 2001 From: Rushabh Mehta Date: Thu, 21 Jul 2016 17:14:27 +0530 Subject: [PATCH] [fix] patch --- erpnext/patches/v7_0/migrate_schools_to_erpnext.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/erpnext/patches/v7_0/migrate_schools_to_erpnext.py b/erpnext/patches/v7_0/migrate_schools_to_erpnext.py index 7ebbe062692..6919eec5576 100644 --- a/erpnext/patches/v7_0/migrate_schools_to_erpnext.py +++ b/erpnext/patches/v7_0/migrate_schools_to_erpnext.py @@ -11,9 +11,9 @@ def execute(): remove_from_installed_apps("schools") domainify.setup_domain('Education') else: - frappe.reload_doctype('Announcement') - frappe.reload_doctype('Course') - frappe.reload_doctype('Fees') - frappe.reload_doctype('Examination') + frappe.reload_doc('schools', 'doctype', 'announcement') + frappe.reload_doc('schools', 'doctype', 'course') + frappe.reload_doc('schools', 'doctype', 'fees') + frappe.reload_doc('schools', 'doctype', 'examination') frappe.get_doc('Portal Settings', 'Portal Settings').sync_menu() domainify.setup_sidebar_items(domainify.get_domain('Manufacturing'))