diff options
| author | Rémy Voet (ryv) <ryv@odoo.com> | 2021-01-04 15:04:02 +0000 |
|---|---|---|
| committer | Rémy Voet (ryv) <ryv@odoo.com> | 2021-01-04 15:04:02 +0000 |
| commit | 209f421b7360a42ab43c09d9aacec6b53ad24917 (patch) | |
| tree | 60592652a87fd1442a846aa152873acbcc726bfa /addons/mail/static/src/models/thread_cache/thread_cache.js | |
| parent | 6e928ef24d70e69d8063bd3aab884d4bbbb94150 (diff) | |
[FIX] stock_landed_cost: improve performance read
Improve performance of SQL in `_compute_allowed_picking_ids`.
This one can be costly for a simple read of the `allowed_picking_ids`.
Grouping the result to avoid useless big thoughtput and a
add a where clause on company_id to filter out useless row.
opw-2374405
odoo/odoo#64011
Forward-Port-Of: odoo/odoo#63742
Diffstat (limited to 'addons/mail/static/src/models/thread_cache/thread_cache.js')
0 files changed, 0 insertions, 0 deletions
