diff options
| author | Simon Lejeune <sle@openerp.com> | 2018-01-03 17:07:01 +0100 |
|---|---|---|
| committer | Simon Lejeune <sle@openerp.com> | 2018-01-04 12:48:15 +0100 |
| commit | 5f3255be7f4c19d208bba7c3f149494bd1abf144 (patch) | |
| tree | b5035f58d48b912abdead0c16ee07a63a201a695 /addons/web/static/src/js/views/basic/basic_view.js | |
| parent | cf32a23b92435269035e60fe4ba4b627e42ef8d4 (diff) | |
[FIX] stock: _free_reservation
to reproduce:
- have 4 units of product 1 in stock
- create a move for a dozen, reserve it
- try to scrap a single unit
- an exception "cannot reserve more than available" is raised
To reflect the change of reservation after scrapping the quantity, we
have to update the reserved quantity on the move line.
When updating the quantity on the move line, "quantity_split" is in the
quant uom, so it should be converted to the uom of the move line.
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_view.js')
0 files changed, 0 insertions, 0 deletions
