summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/graph_view.js
diff options
context:
space:
mode:
authorChristophe Simonis <chs@odoo.com>2015-10-01 15:16:59 +0200
committerChristophe Simonis <chs@odoo.com>2015-10-01 15:16:59 +0200
commitd750206c495b48b6ab951f034e37f6186ca8e979 (patch)
tree0cbf63d47129508c34ceadaf4d5fa115bce39d30 /addons/web/static/src/js/views/graph_view.js
parente360464742a719fff4a9d0ee9b65c9fd49ba0070 (diff)
parente9f1ee4d4a49c383040007ce42e8a6bc2bed9c41 (diff)
[MERGE] forward port of branch saas-6 up to e9f1ee4
Diffstat (limited to 'addons/web/static/src/js/views/graph_view.js')
-rw-r--r--addons/web/static/src/js/views/graph_view.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/web/static/src/js/views/graph_view.js b/addons/web/static/src/js/views/graph_view.js
index 030a7dcc62e..8a604640fc9 100644
--- a/addons/web/static/src/js/views/graph_view.js
+++ b/addons/web/static/src/js/views/graph_view.js
@@ -29,7 +29,7 @@ var GraphView = View.extend({
this.widget = undefined;
},
start: function () {
- var load_fields = this.model.call('fields_get', [])
+ var load_fields = this.model.call('fields_get', [], {context: this.dataset.get_context()})
.then(this.prepare_fields.bind(this));
return $.when(this._super(), load_fields);