Charts on reports / activity page, deprecated financial analytics report

This commit is contained in:
Nabin Hait
2016-05-26 15:25:52 +05:30
parent 44c1b8e63b
commit b46d021f2a
14 changed files with 47 additions and 408 deletions

View File

@@ -78,7 +78,7 @@ frappe.require("assets/erpnext/js/stock_grid_report.js", function() {
this.trigger_refresh_on_change(["value_or_qty", "brand", "warehouse", "range"]);
this.show_zero_check();
this.setup_plot_check();
this.setup_chart_check();
},
init_filter_values: function() {
this._super();
@@ -198,9 +198,6 @@ frappe.require("assets/erpnext/js/stock_grid_report.js", function() {
}
});
},
get_plot_points: function(item, col, idx) {
return [[dateutil.user_to_obj(col.name).getTime(), item[col.field]]]
},
show_stock_ledger: function(item_code) {
frappe.route_options = {
item_code: item_code,