[FIX] code should use abscissa, not first_field

bzr revid: xmo@openerp.com-20110929083013-85voh4e8062vx8hx
This commit is contained in:
Xavier Morel 2011-09-29 10:30:13 +02:00
parent ccd607aae5
commit bdf7076f23
1 changed files with 1 additions and 1 deletions

View File

@ -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