diff options
| author | amoyaux <arm@odoo.com> | 2017-08-10 16:18:02 +0200 |
|---|---|---|
| committer | amoyaux <arm@odoo.com> | 2017-08-17 17:16:00 +0200 |
| commit | 3c135d3123391461641a4414fe9aea05b18753d2 (patch) | |
| tree | 8145a74da5d1c2c209a1d410f7be9c8d0c24d23b /addons/web/static/src/js/views/basic/basic_renderer.js | |
| parent | fafb0ed8c53def2c8e3022a861c09a7b2d7c8529 (diff) | |
[IMP] stock : reserved quantity should be 0 for done move
The quantity reserved for move was never modified once the move
is done. It is a nonsense to have a reserved quantity for a done
move.
This commit add a constraint that ensure the quantity of
move line to be 0 if it is in state done. Also it add a write
on move_line's 'action_done' function that set the reserved quantity
to 0 for all move line processed.
It does not introduce any change on the stock move itself since the
reserved quantity is the sum of all its move lines's reserved quantity.
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_renderer.js')
0 files changed, 0 insertions, 0 deletions
