summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic
diff options
context:
space:
mode:
authorXavier-Do <xdo@odoo.com>2020-03-10 11:49:43 +0000
committerRaphael Collet <rco@odoo.com>2020-03-12 09:37:04 +0000
commit03708af20e389ce6c4a63283929ea2d95d420e1c (patch)
tree0c652096eccceae05849aabc398ed0740497ac66 /addons/web/static/src/js/views/basic
parentdad3556e97af45b2f96a616aba13395735e860d3 (diff)
[IMP] core: make exists determinist
When testing odoo, errors can occur an undeterministic way, wich can lead to strange and unreproductible behaviour. This also means that the performance can change from one execution to another, making it quite difficult to track performance variation on a global scope. This commit makes the result of `exists()` deterministic in terms of order. The side effect is to keep record ids in the same order as the original recordset, which may be useful. closes odoo/odoo#47282 Signed-off-by: Raphael Collet (rco) <rco@openerp.com> Co-authored-by: Raphael Collet <rco@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic')
0 files changed, 0 insertions, 0 deletions