[FIX] web: incorrect reference to openerp
I assume the problem was introduced by a forward port. But whatever the case, we should not ever use the variable 'openerp' in jsland.
This commit is contained in:
@@ -305,7 +305,7 @@ return Widget.extend({
|
||||
});
|
||||
chart.xAxis.tickValues(tickValues)
|
||||
.tickFormat(tickFormat);
|
||||
chart.yAxis.tickFormat(function(d) { return openerp.web.format_value(d, { type : 'float' });});
|
||||
chart.yAxis.tickFormat(function(d) { return formats.format_value(d, { type : 'float' });});
|
||||
|
||||
chart(svg);
|
||||
this.to_remove = chart.update;
|
||||
|
||||
Reference in New Issue
Block a user