[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:
Géry Debongnie
2016-05-30 11:43:06 +02:00
parent 2f7bd4d7e9
commit 2172a6e81c
@@ -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;