From 77de8dc1022d1244dd9f3bc40efaf1abfe6953c7 Mon Sep 17 00:00:00 2001 From: Shreya Shah Date: Tue, 19 Jun 2018 10:43:08 +0530 Subject: [PATCH] Change Restaurant icon type to module (#14578) --- erpnext/config/desktop.py | 2 +- erpnext/patches.txt | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/erpnext/config/desktop.py b/erpnext/config/desktop.py index 13f9348ecf..db6975ee06 100644 --- a/erpnext/config/desktop.py +++ b/erpnext/config/desktop.py @@ -346,7 +346,7 @@ def get_data(): "color": "#EA81E8", "icon": "🍔", "_doctype": "Restaurant", - "type": "list", + "type": "module", "link": "List/Restaurant", "label": _("Restaurant"), "hidden": 1 diff --git a/erpnext/patches.txt b/erpnext/patches.txt index 0f23286587..66e794c810 100644 --- a/erpnext/patches.txt +++ b/erpnext/patches.txt @@ -550,3 +550,4 @@ erpnext.patches.v11_0.set_update_field_and_value_in_workflow_state erpnext.patches.v11_0.update_total_qty_field erpnext.patches.v11_0.update_sales_partner_type erpnext.patches.v11_0.rename_asset_adjustment_doctype +execute:frappe.db.sql("update `tabDesktop Icon` set type = 'module' where module_name = 'Restaurant'")