Change Restaurant icon type to module (#14578)
diff --git a/erpnext/config/desktop.py b/erpnext/config/desktop.py
index 13f9348..db6975e 100644
--- a/erpnext/config/desktop.py
+++ b/erpnext/config/desktop.py
@@ -346,7 +346,7 @@
"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 0f23286..66e794c 100644
--- a/erpnext/patches.txt
+++ b/erpnext/patches.txt
@@ -550,3 +550,4 @@
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'")