From c1b6b4ed3598719ad710d9b6c5d7a89540dfbcbc Mon Sep 17 00:00:00 2001 From: Saqib Date: Mon, 23 Dec 2019 17:28:00 +0530 Subject: [PATCH] fix: breadcrumb for company list (#20051) --- erpnext/setup/doctype/company/company_list.js | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 erpnext/setup/doctype/company/company_list.js diff --git a/erpnext/setup/doctype/company/company_list.js b/erpnext/setup/doctype/company/company_list.js new file mode 100644 index 0000000000..017286560f --- /dev/null +++ b/erpnext/setup/doctype/company/company_list.js @@ -0,0 +1,10 @@ +frappe.listview_settings['Company'] = { + onload: () => { + frappe.breadcrumbs.add({ + type: 'Custom', + module: __('Accounts'), + label: __('Accounts'), + route: '#modules/Accounts' + }); + } +} \ No newline at end of file