summaryrefslogtreecommitdiff
path: root/addons/web_graph/static/src/js
diff options
context:
space:
mode:
authorGéry Debongnie <ged@odoo.com>2014-10-14 14:48:31 +0200
committerGéry Debongnie <ged@odoo.com>2014-10-21 09:33:52 +0200
commitd82ca918cd0f131959615150bba1930cb9c83fe5 (patch)
tree238dd5b8ec00bf6e1fe520c0cdfca35e93ae6f91 /addons/web_graph/static/src/js
parentef636ed520852357241862b9e6ece7bb32c9e676 (diff)
[IMP] various code improvements
mostly styling, and related micro-changes
Diffstat (limited to 'addons/web_graph/static/src/js')
-rw-r--r--addons/web_graph/static/src/js/graph_widget.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/addons/web_graph/static/src/js/graph_widget.js b/addons/web_graph/static/src/js/graph_widget.js
index 3731d301b2b..23d97dac59a 100644
--- a/addons/web_graph/static/src/js/graph_widget.js
+++ b/addons/web_graph/static/src/js/graph_widget.js
@@ -122,7 +122,11 @@ openerp.web_graph.Graph = openerp.web.Widget.extend({
// this method gets the fields that appear in the search view, under the
// 'Groupby' heading
get_search_fields: function () {
- return [];
+ // this method is disabled for now. This requires extensive changes because the
+ // search view works quite differently: But the graph view is going to be split
+ // soon in pivot view and graph view. The pivot view will then properly handle
+ // groupbys.
+ return [];
var self = this;
var groupbygroups = _(this.search_view.drawer.inputs).select(function (g) {