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

[FIX] stock: speedup _get_inventory_lines_values


When an inventory has lots of non-zero lines,
i.e. lines with non-exhausted products,
action_start is currently quite slow
because of the browse inside the for loop
of _get_inventory_lines_values.

This commit speeds it up by moving
the browse outside of the for loop.

closes odoo/odoo#80255

Signed-off-by: default avatarWilliam Henrotin (whe) <whe@odoo.com>
parent 7cc502a6
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