diff options
| author | Antony Lesuisse <al@openerp.com> | 2011-08-19 00:57:21 +0200 |
|---|---|---|
| committer | Antony Lesuisse <al@openerp.com> | 2011-08-19 00:57:21 +0200 |
| commit | 47e709eb735f0fab8ee53c802e1352ee445d52cc (patch) | |
| tree | ffaf9f86e8ca8f370fb5cdc725fcf1833fe9291d /addons/base_graph/static/src/js/graph.js | |
| parent | e9d031cb0bc047fbc9e0af072b8c3c697bf9bd08 (diff) | |
[IMP] read_slice fields outside option [] are probably bugs
bzr revid: al@openerp.com-20110818225721-tn1vl2450tbe11d6
Diffstat (limited to 'addons/base_graph/static/src/js/graph.js')
| -rw-r--r-- | addons/base_graph/static/src/js/graph.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/base_graph/static/src/js/graph.js b/addons/base_graph/static/src/js/graph.js index f7c949dc194..e76d38b33bc 100644 --- a/addons/base_graph/static/src/js/graph.js +++ b/addons/base_graph/static/src/js/graph.js @@ -89,7 +89,7 @@ openerp.base_graph.GraphView = openerp.base.View.extend({ } this.dataset.domain = domain; this.dataset.context = this.view_manager.dataset.context; - this.dataset.read_slice({fields: _(this.fields).keys()}, function(res) { + this.dataset.read_slice(_(this.fields).keys(),{}, function(res) { self.schedule_chart(res); }); } @@ -468,7 +468,7 @@ openerp.base_graph.GraphView = openerp.base.View.extend({ } self.dataset.context = results.context; self.dataset.domain = results.domain; - self.dataset.read_slice({}, $.proxy(self, 'load_chart')); + self.dataset.read_slice([],{}, $.proxy(self, 'load_chart')); }); } }); |
