commit | 4b08f9ad1f636ef4497b87fd94bed657403fcc7d | [log] [tgz] |
---|---|---|
author | Rushabh Mehta <rmehta@gmail.com> | Wed Aug 10 18:17:53 2016 +0530 |
committer | Rushabh Mehta <rmehta@gmail.com> | Wed Aug 10 18:18:14 2016 +0530 |
tree | 44f16ea62404605794fb2f0ca877a5be53b5c415 | |
parent | c9501eb4601197365e1555a97bfda82f482fc133 [diff] |
[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))