Skip to content
Snippets Groups Projects
Commit 591a726f authored by Aurélien (avd)'s avatar Aurélien (avd)
Browse files

[IMP] stock: various optimizations when validating inventory.


Backport of 14.0 PR odoo/odoo#73082 with some slight changes.

Backport of master PR odoo/odoo#62083.

Improve stock.picking._compute_state by computing pickings new state conditions
beforehand. This avoids looping through picking.move_lines for each
condition for each picking.

opw-2613931

closes odoo/odoo#74808

Signed-off-by: default avatarWilliam Henrotin <Whenrow@users.noreply.github.com>
parent b57cdc9d
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment