summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic
diff options
context:
space:
mode:
authorRomainLibert <rli@odoo.com>2019-01-11 11:44:49 +0000
committerYannick Tivisse <yti@odoo.com>2019-02-06 13:26:33 +0000
commit5fcf891e07bf61518e6bf0be0dc4f27859d45778 (patch)
treea98d7ed6b868b22dd40613d053cdd4f0ad1e8bfb /addons/web/static/src/js/views/basic
parentc0ffeeb417b86a08017d698c60f57d4d0bb7cb06 (diff)
[IMP] various: optimize _name_search
In the overrides of _name_search we should avoid creating domains with huge lists of ids as it is inefficient. We can also make sure that we optimize the empty search as in this case the custom domain doesn't make sense, we can simply search on an empty domain and, thanks to the limit argument, still keep a fast query. Linked to task 1918906 Thanks to @odony and @nseinlet closes odoo/odoo#30155 closes odoo/odoo#30887
Diffstat (limited to 'addons/web/static/src/js/views/basic')
0 files changed, 0 insertions, 0 deletions