2013-11-20 07:29:58 +00:00
|
|
|
// Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. and Contributors
|
2013-08-05 09:29:54 +00:00
|
|
|
// License: GNU General Public License v3. See license.txt
|
2012-09-21 14:16:24 +00:00
|
|
|
|
|
|
|
|
2015-02-17 14:23:23 +00:00
|
|
|
frappe.pages['stock-analytics'].on_page_load = function(wrapper) {
|
2014-02-14 10:17:51 +00:00
|
|
|
frappe.ui.make_app_page({
|
2012-12-25 13:05:12 +00:00
|
|
|
parent: wrapper,
|
2014-04-14 10:55:30 +00:00
|
|
|
title: __('Stock Analytics'),
|
2012-12-25 13:05:12 +00:00
|
|
|
single_column: true
|
|
|
|
});
|
2012-12-25 12:34:10 +00:00
|
|
|
|
2012-12-25 13:05:12 +00:00
|
|
|
new erpnext.StockAnalytics(wrapper);
|
2012-12-25 12:34:10 +00:00
|
|
|
|
2013-11-13 11:25:38 +00:00
|
|
|
|
2014-12-19 10:50:32 +00:00
|
|
|
frappe.add_breadcrumbs("Stock")
|
2012-12-25 12:34:10 +00:00
|
|
|
|
2015-02-17 14:23:23 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
frappe.assets.views["Report"]();
|
|
|
|
frappe.require("assets/erpnext/js/stock_analytics.js");
|