From 4b08f9ad1f636ef4497b87fd94bed657403fcc7d Mon Sep 17 00:00:00 2001 From: Rushabh Mehta Date: Wed, 10 Aug 2016 18:17:53 +0530 Subject: [PATCH] [fix] patch --- erpnext/patches/v7_0/migrate_schools_to_erpnext.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/patches/v7_0/migrate_schools_to_erpnext.py b/erpnext/patches/v7_0/migrate_schools_to_erpnext.py index c222da8485..695f6ccbcd 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 execute(): 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))