diff options
| author | Arnold Moyaux <arm@odoo.com> | 2018-06-25 16:17:34 +0200 |
|---|---|---|
| committer | Arnold Moyaux <arm@odoo.com> | 2018-06-26 13:16:52 +0200 |
| commit | 52f323545aeaa53be078f8deb633251eef16fc12 (patch) | |
| tree | 635dfb7b338a05ee184a08dbfd38e638e9123e00 /addons/web_editor/static/src | |
| parent | bd5ca8c61294955d1120d48e872e0bb4c5a07481 (diff) | |
[FIX] stock: inconsistent state after unpack.
Usecase to reproduce:
- Update quantity in stock with a product inside a package
- Reserve a picking with this package.
- Go on the package form view and unpack it.
The package does not exist anymore on the quant, the reserved move line
still having the package as source package.
When the user try to unreserve the move lines, it will try to unrerserve
a quant with this package that does not exist anymore and then return
the error message 'can not unreserve more than you have in stock'.
This commit removes the source package on move lines that contain the
unpacked pack.
Diffstat (limited to 'addons/web_editor/static/src')
0 files changed, 0 insertions, 0 deletions
