[IMP] avoid potential error when specifying duplicated fields in read
Can't reproduce on my browser/machine, may be config-specific, but doesn't really hurt either way bzr revid: xmo@openerp.com-20120831103255-2l4f2zhngl0c0k82
This commit is contained in:
@@ -70,7 +70,7 @@ openerp.web_graph.GraphView = openerp.web.View.extend({
|
||||
if (this.group_field) {
|
||||
fs.push(this.group_field);
|
||||
}
|
||||
return fs;
|
||||
return _.uniq(fs);
|
||||
},
|
||||
on_loaded: function() {
|
||||
this.chart = this.fields_view.arch.attrs.type || 'pie';
|
||||
|
||||
Reference in New Issue
Block a user