// Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. // License: GNU General Public License v3. See license.txt wn.pages['stock-analytics'].onload = function(wrapper) { wn.ui.make_app_page({ parent: wrapper, title: 'Stock Analytics', single_column: true }); new erpnext.StockAnalytics(wrapper); wrapper.appframe.add_home_breadcrumb() wrapper.appframe.add_module_icon("Stock") wrapper.appframe.add_breadcrumb("icon-bar-chart") } wn.require("app/js/stock_analytics.js");