Skip to content
Snippets Groups Projects
Commit 15a8cc9e authored by Mathieu Walravens's avatar Mathieu Walravens
Browse files

[FIX] delivery: speed up _compute_packages using read_group


Before this commit:
Packages were computed using a for loop, skipping any picking without
any packages.

After this commit:
Packages are computed using a read_group, speeding up the computed
method for large pickings with hundreds of stock move lines.

opw-3461706

closes odoo/odoo#134581

X-original-commit: 8dcad6e4
Signed-off-by: default avatarArnold Moyaux (arm) <arm@odoo.com>
Signed-off-by: default avatarWalravens Mathieu (wama) <wama@odoo.com>
parent 3b12f989
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment