diff options
| author | Simon Lejeune <sle@openerp.com> | 2017-07-26 16:19:26 +0200 |
|---|---|---|
| committer | Simon Lejeune <sle@openerp.com> | 2017-07-26 17:23:55 +0200 |
| commit | 2a0b158d4490817388da7de94969447d02744386 (patch) | |
| tree | 830c2c8d77a9d5c39e7365b53db2d68dc6574ca0 /odoo/sql_db.py | |
| parent | 7a39ab50c51d2923202072aa101bf40e450fa39f (diff) | |
[FIX] stock: move: _update_reserved_quantity
When a move line is reserved on multiple quants, we increased it with
the `taken_quantity` variable, which is used to know how much quantity
we try to reserve in total for this move, not what is available on the
quant.
The amount to increase is obviously the one returned by `stock.quant`
and is available in the loop.
Diffstat (limited to 'odoo/sql_db.py')
0 files changed, 0 insertions, 0 deletions
