From ab46f0f5bb8096b3cc5b805d8ada0f3751a3f926 Mon Sep 17 00:00:00 2001 From: Faris Ansari Date: Wed, 10 Jul 2019 18:49:41 +0530 Subject: [PATCH 1/3] fix: Add module map for breadcrumbs --- erpnext/public/js/conf.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/erpnext/public/js/conf.js b/erpnext/public/js/conf.js index ec71df3351..622e1abd62 100644 --- a/erpnext/public/js/conf.js +++ b/erpnext/public/js/conf.js @@ -52,3 +52,11 @@ $.extend(frappe.breadcrumbs.preferred, { "Sales Partner": "Selling", "Brand": "Selling" }); + +$.extend(frappe.breadcrumbs.module_map, { + 'ERPNext Integrations': 'Integrations', + 'Geo': 'Settings', + 'Accounts': 'Accounting', + 'Portal': 'Website', + 'Utilities': 'Settings' +}) From a7a6987c4213079428e68f9aedd9e9117ddcb768 Mon Sep 17 00:00:00 2001 From: Faris Ansari Date: Wed, 10 Jul 2019 19:22:16 +0530 Subject: [PATCH 2/3] fix: Add Shopping Cart and Contacts --- erpnext/public/js/conf.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/erpnext/public/js/conf.js b/erpnext/public/js/conf.js index 622e1abd62..dfee2b5578 100644 --- a/erpnext/public/js/conf.js +++ b/erpnext/public/js/conf.js @@ -58,5 +58,7 @@ $.extend(frappe.breadcrumbs.module_map, { 'Geo': 'Settings', 'Accounts': 'Accounting', 'Portal': 'Website', - 'Utilities': 'Settings' + 'Utilities': 'Settings', + 'Shopping Cart': 'Website', + 'Contacts': 'CRM' }) From 7837fbe231e2c442f21f0c6bcaac26a4800c4f34 Mon Sep 17 00:00:00 2001 From: Suraj Shetty <13928957+surajshetty3416@users.noreply.github.com> Date: Wed, 10 Jul 2019 19:39:40 +0530 Subject: [PATCH 3/3] style: Add missing semicolon --- erpnext/public/js/conf.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/public/js/conf.js b/erpnext/public/js/conf.js index dfee2b5578..095e744926 100644 --- a/erpnext/public/js/conf.js +++ b/erpnext/public/js/conf.js @@ -61,4 +61,4 @@ $.extend(frappe.breadcrumbs.module_map, { 'Utilities': 'Settings', 'Shopping Cart': 'Website', 'Contacts': 'CRM' -}) +});