summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_controller.js
diff options
context:
space:
mode:
authorDenis Ledoux <dle@odoo.com>2019-08-22 11:34:37 +0000
committerRaphael Collet <rco@odoo.com>2019-09-11 07:55:17 +0000
commit5cac9c54ffa747c270269bbfaf13575be4516d18 (patch)
treec1509c9ee58d963428d81ed28eb1333aba45d7c0 /addons/web/static/src/js/views/basic/basic_controller.js
parent3d1c924cffd839c076d9bacaf8bab9d995aee01e (diff)
[IMP] fields: avoid __set__ multiple loops on record, and new browse records
This patch avoids to create new browse records for nothing, (as creating new browse (__new__) is costly), and to avoid to loop multiple times on the records (with multiple different filtered, etc.) This brings performance gain to __set__, which is used when setting the value of a compute field e.g. This improves the performances of `env['product.product'].search_read([])` closes odoo/odoo#36006 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