diff options
| author | Florent de Labarre <florent.mirieu@gmail.com> | 2018-02-04 17:41:13 +0100 |
|---|---|---|
| committer | Arnold Moyaux <arm@odoo.com> | 2018-02-06 17:10:20 +0100 |
| commit | ee7e9198f2ef7b468b929c8dec14570e6af1afcf (patch) | |
| tree | f19264a5b1a442b189131d3c9e0da53812043388 /addons/web_editor/static/src/js | |
| parent | c123049805406f9759f7b5328303b207665a19c9 (diff) | |
[FIX] stock: don't update a move line with qty=1 with serial product
Use case to reproduce:
- create a product A with serial number
- add 2 product A in stock
- create a delivery order with this 4 product
- Check Availability
- add 2 more product A in stock
- Check Availability
- in the first line the quantity is now 3
It happens because _update_reserved_quantity on stock move
try to add the quantity reserved on simililar move lines.
Howevever in serial case we don't want to have a move line
with a reserved quantity greater than 1.
Diffstat (limited to 'addons/web_editor/static/src/js')
0 files changed, 0 insertions, 0 deletions
