brotherton-erpnext/erpnext/stock/page/stock_analytics/stock_analytics.js
2014-04-14 16:25:30 +05:30

19 lines
445 B
JavaScript

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