Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
[FIX] stock: recompute move state
Before this commit, a move can be 'assigned' even if it has no reserved quantity. How to reproduce: - For a tracked product, add some quantities for a LN/SN. Create an another LN/SN with no quantity; - Create a delivery for this product; - Confirm it and check availability; - On the move line, change the SN/LN for the one without quantity. --> The move has no reserved quantity but is still marked as `assigned`. task-2171546 closes #44141 X-original-commit: d5e70fa Signed-off-by: Simon Lejeune (sle) <sle@openerp.com> Co-authored-by: sle-odoo <sle@odoo.com>
- Loading branch information
Showing
2 changed files
with
8 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters