diff options
| author | Raphael Collet <rco@odoo.com> | 2017-07-06 17:16:03 +0200 |
|---|---|---|
| committer | Raphael Collet <rco@odoo.com> | 2017-07-10 16:18:33 +0200 |
| commit | e25bcf41e2f312536a00ef8531b2f6c6e0334ebc (patch) | |
| tree | cd4fed7e6ea124b024637c5327f0e73bce376148 /addons/web/static/src/js/views/basic/basic_controller.js | |
| parent | c47a41b8b4c568ec63692a027c4dc13c82f1f172 (diff) | |
[REF] models: group recomputation triggers to minimize the number of requests
When several fields are modified and trigger the same recomputations, the same
SQL queries were made to determine the records to recompute, because each field
was processed independently. In order to avoid duplicated SQL queries, process
the triggers of the modified fields altogether.
This reduces the number of queries by 15% to 25%, depending on the number of
computed fields.
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions
