[IMP] Kanban: do not load all records in read_slice
bzr revid: fme@openerp.com-20111020153033-2t4fgds8squ0oic8
This commit is contained in:
parent
a7d679ed65
commit
470a0c550a
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue