diff options
| author | Victor Feyens <vfe@odoo.com> | 2020-08-10 13:17:00 +0000 |
|---|---|---|
| committer | Victor Feyens <vfe@odoo.com> | 2020-08-14 09:56:10 +0000 |
| commit | fdb23e282b90ad95e4f909f7232eb0aa36038836 (patch) | |
| tree | c29267645405b1fabd0b12c1276b89e6c7058f58 /addons/web/static/src/js/views/basic/basic_controller.js | |
| parent | 65bf6988f941be6fe1e88202bc814e4b645abf79 (diff) | |
[IMP] *: wrong any() usage
Replace wrong usages of any(list|recordset), by any(generator)
to speed up computations, avoiding list creations and/or looping twice on a recordset
for nothing.
any([generator]) => any(generator)
any(filtered) => any(generator)
closes odoo/odoo#55768
Related: odoo/enterprise#12360
Signed-off-by: Victor Feyens (vfe) <vfe@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions
