from __future__ import unicode_literals from frappe.patches.v7_0.re_route import update_routes def execute(): update_routes(['Item', 'Item Group', 'Sales Partner', 'Job Opening'])