odoo/addons/web_kanban
Nicolas Lempereur 2a0c018043 [FIX] kanban: search more when DataSetStatic
When showing a kanban, there is differences between dataset of types:

* DataSetStatic: self.view.dataset===self.dataset, their ids attributes are the entire ids list,
* DataSet and DataSetSearch: self.view.dataset.ids are the already in the view ids, self.dataset.ids are the last gotten ids.

Hence with DataSetStatic dataset, when self.view.dataset.ids.splice(0) is done
self.dataset.ids is also emptied. And in the read_slice function, the slice is
done on that (now empty) array.

This fix removes the splicing of this ids array (which doesn't change a thing
since the array is overwritten latter), a _.difference is used to remove
eventual duplicates since in the DataSetStatic case, the same array is being
concatenated to itself

opw-630654 opw-617090 opw-619563
2015-03-26 17:28:02 +01:00
..
i18n [I18N] Update 7.0 translations with latest changes on Launchpad 2014-08-14 03:38:58 +02:00
static/src [FIX] kanban: search more when DataSetStatic 2015-03-26 17:28:02 +01:00
__init__.py [IMP] factorize view/load part2 addons 2011-09-07 01:08:59 +02:00
__openerp__.py [MERGE] Merged PNA's branch to improve web module description 2012-08-22 18:33:36 +05:30