19 lines
445 B
JavaScript
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"); |