diff options
| author | svs-odoo <svs@odoo.com> | 2020-01-24 13:00:23 +0000 |
|---|---|---|
| committer | svs-odoo <svs@odoo.com> | 2020-01-28 17:32:41 +0000 |
| commit | a61332e251d8896fc8cc0959b080757d584dcb79 (patch) | |
| tree | 55eec79bb9f8d5a3af583d89396b9945dc9dcdc2 /addons/web/static/src | |
| parent | a55537324752d490889dcf3b6158a0ea16c3ee41 (diff) | |
[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 odoo/odoo#44145
X-original-commit: d5e70fa9778240b23515cea6ab1a3d0a674ac940
Signed-off-by: Simon Lejeune (sle) <sle@openerp.com>
Co-authored-by: sle-odoo <sle@odoo.com>
Diffstat (limited to 'addons/web/static/src')
0 files changed, 0 insertions, 0 deletions
