[fix] patch
diff --git a/erpnext/patches/v7_0/migrate_schools_to_erpnext.py b/erpnext/patches/v7_0/migrate_schools_to_erpnext.py
index c222da8..695f6cc 100644
--- a/erpnext/patches/v7_0/migrate_schools_to_erpnext.py
+++ b/erpnext/patches/v7_0/migrate_schools_to_erpnext.py
@@ -22,4 +22,4 @@
 
 def reload_doctypes_for_schools_icons():
 	for d in frappe.get_all('DocType', filters={'module': 'Schools'}):
-		frappe.reload_doc('schools', 'doctype', d.name)
+		frappe.reload_doc('schools', 'doctype', frappe.scrub(d.name))