diff options
| author | Xavier Morel <xmo@openerp.com> | 2011-09-29 10:30:13 +0200 |
|---|---|---|
| committer | Xavier Morel <xmo@openerp.com> | 2011-09-29 10:30:13 +0200 |
| commit | bdf7076f23f8ace5bdaeca898ee60a1e6b48f275 (patch) | |
| tree | 6a6e04ed2c8907679dd4dbd6a635e4c70849339a /addons/web_graph/static/src/js/graph.js | |
| parent | ccd607aae579bbcee76582ebbacd4a74b49f98fa (diff) | |
[FIX] code should use abscissa, not first_field
bzr revid: xmo@openerp.com-20110929083013-85voh4e8062vx8hx
Diffstat (limited to 'addons/web_graph/static/src/js/graph.js')
| -rw-r--r-- | addons/web_graph/static/src/js/graph.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/web_graph/static/src/js/graph.js b/addons/web_graph/static/src/js/graph.js index df661fd65e6..08ceeddc2d9 100644 --- a/addons/web_graph/static/src/js/graph.js +++ b/addons/web_graph/static/src/js/graph.js @@ -91,7 +91,7 @@ openerp.web_graph.GraphView = openerp.web.View.extend({ 'element_id': this.element_id })); - var fields = _(this.columns).pluck('name').concat([this.first_field]); + var fields = _(this.columns).pluck('name').concat([this.abscissa]); if (this.group_field) { fields.push(this.group_field); } // transform search result into usable records (convert from OpenERP // value shapes to usable atomic types |
