summaryrefslogtreecommitdiff
path: root/odoo/models.py
diff options
context:
space:
mode:
authorRaphael Collet <rco@odoo.com>2020-06-17 12:18:29 +0000
committerRaphael Collet <rco@odoo.com>2020-08-18 13:02:41 +0000
commit6f87bbbfc8e34b412fe9c129c002269540fa5a30 (patch)
tree653c89e5c577be2b7e6e4278172bf7dd77e9b17b /odoo/models.py
parent1f48130d2bd055835ee428a21922331d126285a3 (diff)
[IMP] core: use _search() and _name_search() for sub-searches
This avoids the formatting part of those methods (`browse` in the case of `search`, `display_name` in the case of `name_search`), which is useless in most cases. This also enables further optimizations where `_search` and `_name_search` return subqueries instead of record ids.
Diffstat (limited to 'odoo/models.py')
0 files changed, 0 insertions, 0 deletions