summaryrefslogtreecommitdiff
path: root/addons/web/static/src
diff options
context:
space:
mode:
authorArnold Moyaux <arm@odoo.com>2017-12-11 15:21:32 +0100
committerArnold Moyaux <arm@odoo.com>2017-12-12 14:55:55 +0100
commit81e983443c63147c4f5a823225e1a9c19d81400a (patch)
tree52dadfa3c71172c02234b85e83ae6fef0182961d /addons/web/static/src
parent96c3001f0eed0de53b8f5a11a371767a5d25337d (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/web/static/src')
0 files changed, 0 insertions, 0 deletions