diff options
| author | amoyaux <arm@odoo.com> | 2017-09-13 16:35:37 +0200 |
|---|---|---|
| committer | amoyaux <arm@odoo.com> | 2017-09-13 17:30:20 +0200 |
| commit | 0f9302af1facd0c5872a377782300e55206301e8 (patch) | |
| tree | 928ba4a21b028218e172fd909e8034e72b12cc74 /addons/web/static/src | |
| parent | 961b7820deabaddfd01fbb7d380feb854f354b6d (diff) | |
[FIX] stock: recheck availability on mts move bypassing reservation
When running action_assign on a mts move bypassing the reservation,
we always created a new stock move line with the quantity of the move.
This proved to be too naive when running recheck availability.
Exemple: Let’s say I have a reserved move of quantity 5.
If I edit the initial demand to 7 and click on recheck availability,
I end up with a move line of 5 and a move line of 7. We adadapt the
code in a similar way that what’s done in _update_reserved_quantity,
by looking for a candidate move line and only increasing the reserved
quantity by what still needs to be reserved.
Diffstat (limited to 'addons/web/static/src')
0 files changed, 0 insertions, 0 deletions
