diff --git a/addons/web_graph/static/src/js/graph.js b/addons/web_graph/static/src/js/graph.js index b7b6063189f..797e2a0da04 100644 --- a/addons/web_graph/static/src/js/graph.js +++ b/addons/web_graph/static/src/js/graph.js @@ -67,7 +67,7 @@ openerp.web_graph.GraphView = openerp.web.View.extend({ list_fields: function () { var fs = [this.abscissa]; fs.push.apply(fs, _(this.columns).pluck('name')); - if (this.group_field) { + if (this.group_field && this.group_field != this.abscissa) { fs.push(this.group_field); } return fs;