[FIX] dataset.read_ids should always return records in the order of the parameter ids
authorXavier Morel <xmo@openerp.com>
Tue, 25 Feb 2014 16:28:13 +0000 (17:28 +0100)
committerXavier Morel <xmo@openerp.com>
Tue, 25 Feb 2014 16:28:13 +0000 (17:28 +0100)
commitcdc83a0763700df74e1b959427080c89c87c1c50
tree8631ea6513886658815209433ab6ef9acd4e17eb
parent1e2a5ddfa6f51727590a410e6da10eff13f6f23c
[FIX] dataset.read_ids should always return records in the order of the parameter ids

BufferedDataSet.read_ids assumes the input and output orders are the same, and
returns wonky results when not the case, which in turns fucks up its cache as
it associates ids and records incorrectly.

bzr revid: xmo@openerp.com-20140225162813-8ofxpiy1012eehgk
addons/web/static/src/js/data.js
addons/web/static/test/data.js