[IMP] read_slice fields outside option [] are probably bugs

bzr revid: al@openerp.com-20110818225721-tn1vl2450tbe11d6
This commit is contained in:
Antony Lesuisse
2011-08-19 00:57:21 +02:00
parent e9d031cb0b
commit 47e709eb73
11 changed files with 50 additions and 31 deletions
+2 -2
View File
@@ -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'));
});
}
});