commit | c1b6b4ed3598719ad710d9b6c5d7a89540dfbcbc | [log] [tgz] |
---|---|---|
author | Saqib <thefalconx33@gmail.com> | Mon Dec 23 17:28:00 2019 +0530 |
committer | Nabin Hait <nabinhait@gmail.com> | Mon Dec 23 17:28:00 2019 +0530 |
tree | 18438fb52bc28155648685d142fe1afb35896243 | |
parent | 90786076009f6a2ca35ae4bf961ff5399b28dee0 [diff] |
fix: breadcrumb for company list (#20051)
diff --git a/erpnext/setup/doctype/company/company_list.js b/erpnext/setup/doctype/company/company_list.js new file mode 100644 index 0000000..0172865 --- /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