summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGéry Debongnie <ged@odoo.com>2016-05-30 10:34:31 +0200
committerGéry Debongnie <ged@odoo.com>2016-05-30 11:43:06 +0200
commit2172a6e81c183834be2efee124752f2e8ea16ea2 (patch)
tree14872dd70d15fc4fe26185df51b41df1c259aa98
parent2f7bd4d7e9e67849d002a0081fde8e4fdda6ec86 (diff)
[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.
-rw-r--r--addons/web/static/src/js/views/graph_widget.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/web/static/src/js/views/graph_widget.js b/addons/web/static/src/js/views/graph_widget.js
index e2c92535b23..ed528768329 100644
--- a/addons/web/static/src/js/views/graph_widget.js
+++ b/addons/web/static/src/js/views/graph_widget.js
@@ -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;