diff options
| author | Nicolas Seinlet <nse@openerp.com> | 2019-02-13 15:22:37 +0000 |
|---|---|---|
| committer | Nicolas Seinlet <nse@openerp.com> | 2019-02-13 15:22:37 +0000 |
| commit | bae95e303c0c9057c5d44b890cc85ba7b21d8ce2 (patch) | |
| tree | 70baf3364d72e66d149a9e66225df1441753ae77 /addons/website_profile/data/profile_data.xml | |
| parent | fe83f0de24006db046134a351eea6bcba8566ca7 (diff) | |
[IMP] base: avoid name_get when possible
When search on partner_id return thousands of records, thousands of
_name_get are performed, and there's a great chance to not use them at
all. Using the lazy_name_get seems more efficient in terms of memory and
cpu.
closes odoo/odoo#31075
Signed-off-by: Christophe Simonis <chs@odoo.com>
Diffstat (limited to 'addons/website_profile/data/profile_data.xml')
0 files changed, 0 insertions, 0 deletions
