summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/fields/basic_fields.js
diff options
context:
space:
mode:
authorRémy Voet (ryv) <ryv@odoo.com>2020-11-23 12:15:20 +0000
committerRémy Voet (ryv) <ryv@odoo.com>2020-11-30 13:19:57 +0000
commite78ca55997dfbf13c0798c1f59408450071e1452 (patch)
treec60f78119fa75b515e26434c7649036f7019638f /addons/web/static/src/js/fields/basic_fields.js
parentb79364910e94bbb0216d3cb682a3c4550713e134 (diff)
[FIX] stock: improve perf of `_compute_has_packages` of `stock.picking`
When a picking contains a lot (> 10000) of stock move line, the time to open the picking become a issue (for 50000 sml, +- 6.5 sec) because of the `_compute_has_packages`. Use a search with a limit=1 to avoid fetching all `stock.move.line` with `result_package_id` (for 50000 sml, +- 2.5 sec). opw-2371161
Diffstat (limited to 'addons/web/static/src/js/fields/basic_fields.js')
0 files changed, 0 insertions, 0 deletions