diff options
| author | Arnold Moyaux <arm@odoo.com> | 2017-12-11 15:21:32 +0100 |
|---|---|---|
| committer | Arnold Moyaux <arm@odoo.com> | 2017-12-12 14:55:55 +0100 |
| commit | 81e983443c63147c4f5a823225e1a9c19d81400a (patch) | |
| tree | 52dadfa3c71172c02234b85e83ae6fef0182961d /addons/base_import/static | |
| parent | 96c3001f0eed0de53b8f5a11a371767a5d25337d (diff) | |
[FIX] stock: unlink move line don't update move state
Use case to reproduce:
- Go for a delivery order and use show detailed operations mode
- Have something reserved on a picking
- Manually delete the stock.move.line
-> The move state is not adapted to the new state of the stock move lines
It happens because the move state is not computed not
update on the move line unlink method.
This commit use the existing move function in order
to compute the state and add a test.
A part of test_stock_flow_74 is updated. Since procurement
refactoring make a move mto and confirm it will not work
since purchase or mrp are not install (Usererror). Also do an unreserve
on a draft move is not a real use case and should not pass
it in waiting since moves orig are never created.
Diffstat (limited to 'addons/base_import/static')
0 files changed, 0 insertions, 0 deletions
