diff options
| author | Xavier Morel <xmo@openerp.com> | 2011-08-22 14:32:58 +0200 |
|---|---|---|
| committer | Xavier Morel <xmo@openerp.com> | 2011-08-22 14:32:58 +0200 |
| commit | 2fad2d1f80a2162d7523d8ef5d2eee5c4c76ff10 (patch) | |
| tree | ae3afa6d1d63d4e83aee952307abfab918981876 /addons/base_graph | |
| parent | c76bb492f20f00de2a05b10f7b1c30b1dca57c49 (diff) | |
| parent | eebd0ccfd246c4e9a88574100844e606c18b0683 (diff) | |
[MERGE] from trunk
bzr revid: xmo@openerp.com-20110822123258-thxewwdvbysap4jt
Diffstat (limited to 'addons/base_graph')
| -rw-r--r-- | addons/base_graph/po/base_graph.pot | 2 | ||||
| -rw-r--r-- | addons/base_graph/static/src/js/graph.js | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/addons/base_graph/po/base_graph.pot b/addons/base_graph/po/base_graph.pot index 5e81313e02c..b1700659a8f 100644 --- a/addons/base_graph/po/base_graph.pot +++ b/addons/base_graph/po/base_graph.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PROJECT VERSION\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2011-08-16 15:47+0200\n" +"POT-Creation-Date: 2011-08-17 13:28+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" 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')); }); } }); |
