summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_controller.js
diff options
context:
space:
mode:
authorRaphael Collet <rco@odoo.com>2019-09-11 15:25:54 +0000
committerRaphael Collet <rco@odoo.com>2019-09-12 10:28:55 +0000
commitbf8d288d04759970a884c8f3998acd7448adea2d (patch)
treea49c5a69184611fc587b873601604f57fcee2d81 /addons/web/static/src/js/views/basic/basic_controller.js
parent3b08cd15b1650aa982ceeada5c54d2e4d508acf8 (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 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions