brotherton-erpnext/erpnext/public/js/conf.js

22 lines
804 B
JavaScript
Raw Normal View History

2013-11-20 07:29:58 +00:00
// Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. and Contributors
// License: GNU General Public License v3. See license.txt
2014-02-14 10:17:51 +00:00
frappe.provide('erpnext');
2012-01-20 08:17:16 +00:00
2012-05-07 12:30:57 +00:00
// add toolbar icon
2012-01-20 08:17:16 +00:00
$(document).bind('toolbar_setup', function() {
2014-02-14 10:17:51 +00:00
frappe.app.name = "ERPNext";
2014-04-15 11:00:55 +00:00
2015-01-21 12:54:44 +00:00
$('.navbar-home').html('ERPNext');
2014-08-22 09:51:27 +00:00
$('[data-link="docs"]').attr("href", "https://erpnext.com/user-guide")
2012-04-10 06:05:19 +00:00
});
// doctypes created via tree
frappe.create_routes["Customer Group"] = "Sales Browser/Customer Group";
frappe.create_routes["Territory"] = "Sales Browser/Territory";
frappe.create_routes["Item Group"] = "Sales Browser/Item Group";
frappe.create_routes["Sales Person"] = "Sales Browser/Sales Person";
frappe.create_routes["Account"] = "Accounts Browser/Account";
frappe.create_routes["Cost Center"] = "Accounts Browser/Cost Center";