brotherton-erpnext/erpnext/stock/page/stock_analytics/stock_analytics.js
2016-07-01 18:15:17 +05:30

17 lines
466 B
JavaScript

// Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors
// License: GNU General Public License v3. See license.txt
frappe.require("assets/erpnext/js/stock_analytics.js", function() {
frappe.pages['stock-analytics'].on_page_load = function(wrapper) {
frappe.ui.make_app_page({
parent: wrapper,
title: __('Stock Analytics'),
single_column: true
});
new erpnext.StockAnalytics(wrapper);
frappe.breadcrumbs.add("Stock")
};
}, false);