diff options
| author | Xavier Morel <xmo@openerp.com> | 2013-03-01 11:25:55 +0100 |
|---|---|---|
| committer | Xavier Morel <xmo@openerp.com> | 2013-03-01 11:25:55 +0100 |
| commit | b0b1357f164e3ed9d7d89beb0b332017d9f1e396 (patch) | |
| tree | b0ca51f4998fe05dac23fba15dd6763880dd6400 /addons/web_graph/static/src | |
| parent | ed9841844103ec6de21d8e42d121c695b74a42ca (diff) | |
| parent | 9ab4bcb43b0a0928986290cd15a835aaa762ece8 (diff) | |
[FIX] correctly pass context to graph's fields_view_get
bzr revid: xmo@openerp.com-20130301102555-1g7p8ugyorle7i0j
Diffstat (limited to 'addons/web_graph/static/src')
| -rw-r--r-- | addons/web_graph/static/src/js/graph.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/web_graph/static/src/js/graph.js b/addons/web_graph/static/src/js/graph.js index 0ae3f7c1508..8710b840209 100644 --- a/addons/web_graph/static/src/js/graph.js +++ b/addons/web_graph/static/src/js/graph.js @@ -246,7 +246,7 @@ instance.web_graph.GraphView = instance.web.View.extend({ var result = []; var ticks = {}; - return this.alive(obj.call("fields_view_get", [view_id, 'graph']).then(function(tmp) { + return this.alive(obj.call("fields_view_get", [view_id, 'graph', context]).then(function(tmp) { view_get = tmp; fields = view_get['fields']; var toload = _.select(group_by, function(x) { return fields[x] === undefined }); |
