[fix] patch

This commit is contained in:
Rushabh Mehta 2016-08-10 18:17:53 +05:30
parent c9501eb460
commit 4b08f9ad1f

View File

@ -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))