This commit is contained in:
Rushabh Mehta
2016-07-22 12:19:18 +05:30
parent f276b52af3
commit 04a64a7f48
3 changed files with 20 additions and 14 deletions

View File

@@ -2,9 +2,12 @@ import frappe
from frappe.desk.doctype.desktop_icon.desktop_icon import (sync_desktop_icons,
get_desktop_icons, set_hidden)
from erpnext.patches.v7_0.migrate_schools_to_erpnext import reload_doctypes_for_schools_icons
def execute():
'''hide new style icons if old ones are set'''
reload_doctypes_for_schools_icons()
sync_desktop_icons()
for user in frappe.get_all('User', filters={'user_type': 'System User'}):