diff options
| author | Raphael Collet <rco@odoo.com> | 2019-09-11 15:25:54 +0000 |
|---|---|---|
| committer | Raphael Collet <rco@odoo.com> | 2019-09-12 10:28:55 +0000 |
| commit | bf8d288d04759970a884c8f3998acd7448adea2d (patch) | |
| tree | a49c5a69184611fc587b873601604f57fcee2d81 /doc/reference/javascript_reference.rst | |
| parent | 3b08cd15b1650aa982ceeada5c54d2e4d508acf8 (diff) | |
[FIX] base: simplify computation of `commercial_partner_id`
The computation was using an SQL query to speed it up, but the recent
changes in the ORM have made this optimization useless.
We have benchmarked an import of 10000 partners linked to the same
parent, in a database with Sales and Stock installed. The import is
slightly faster without the SQL query (7 min vs 8 min).
closes odoo/odoo#36768
Signed-off-by: Raphael Collet (rco) <rco@openerp.com>
Diffstat (limited to 'doc/reference/javascript_reference.rst')
0 files changed, 0 insertions, 0 deletions
