[IMP] Kanban: do not load all records in read_slice

bzr revid: fme@openerp.com-20111020153033-2t4fgds8squ0oic8
This commit is contained in:
Fabien Meghazi 2011-10-20 17:30:33 +02:00
parent a7d679ed65
commit 470a0c550a
1 changed files with 1 additions and 1 deletions

View File

@ -442,7 +442,7 @@ openerp.web_kanban.KanbanView = openerp.web.View.extend({
},
function (dataset) {
self.groups = [];
self.dataset.read_slice([], {}, function(records) {
self.dataset.read_slice(_.keys(self.fields_view.fields), {}, function(records) {
if (records.length) {
self.all_display_data = [{'records': records, 'value':false, 'header' : false, 'ids': self.dataset.ids}];
} else {