Skip to content
Snippets Groups Projects
Commit 7741bbd9 authored by William Henrotin's avatar William Henrotin
Browse files

[IMP] stock: recompute state speedup


The recomputation of stock move state is often done with already
the correct state (for instance in the case of move line deletion only
one of the deletion will change the state).

This commit check the move state before changing it only when it's
necessary.

Task: 2507143
Part-of: odoo/odoo#78370
Co-authored-by: default avatarRemy Voet <ryv@odoo.com>
parent 767adf94
No related branches found
No related tags found
Loading
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