259
259
var remaining = groups.length - 1,
261
261
return $.when.apply(null, _.map(groups, function (group, index) {
262
263
var dataset = new instance.web.DataSetSearch(self, self.dataset.model,
263
264
new instance.web.CompoundContext(self.dataset.get_context(), group.model.context()), group.model.domain());
266
269
self.dataset.ids.push.apply(self.dataset.ids, dataset.ids);
267
270
groups_array[index] = new instance.web_kanban.KanbanGroup(self, records, group, dataset);