// Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors // License: GNU General Public License v3. See license.txt frappe.provide('erpnext'); // add toolbar icon $(document).bind('toolbar_setup', function() { frappe.app.name = "ERPNext"; frappe.help_feedback_link = '

Feedback

' $('.navbar-home').html(''); $('[data-link="docs"]').attr("href", "https://manual.erpnext.com") $('[data-link="issues"]').attr("href", "https://github.com/frappe/erpnext/issues") }); // doctypes created via tree $.extend(frappe.create_routes, { "Customer Group": "Tree/Customer Group", "Territory": "Tree/Territory", "Item Group": "Tree/Item Group", "Sales Person": "Tree/Sales Person", "Account": "Tree/Account", "Cost Center": "Tree/Cost Center" }); // preferred modules for breadcrumbs $.extend(frappe.breadcrumbs.preferred, { "Item Group": "Stock", "Customer Group": "Selling", "Supplier Type": "Buying", "Territory": "Selling", "Sales Person": "Selling", "Sales Partner": "Selling", "Brand": "Selling" });