summaryrefslogtreecommitdiff
path: root/doc/reference/javascript_reference.rst
diff options
context:
space:
mode:
authorRomainLibert <rli@odoo.com>2019-01-11 11:44:49 +0000
committerYannick Tivisse <yti@odoo.com>2019-02-05 11:44:21 +0000
commit6dbdfb9bf73b7838b43e7804f51c4e64d1039359 (patch)
treebe10a9d92bc227f5004cd16c4c69adc749f2ae06 /doc/reference/javascript_reference.rst
parent0b79687155c9ec759f6ce3a4c736847e3db5c3ac (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
Diffstat (limited to 'doc/reference/javascript_reference.rst')
0 files changed, 0 insertions, 0 deletions