diff options
| author | Nicolas Martinelli <nim@odoo.com> | 2018-09-18 12:56:30 +0200 |
|---|---|---|
| committer | Nicolas Martinelli <nim-odoo@users.noreply.github.com> | 2018-09-19 08:06:13 +0200 |
| commit | 7640575a24eb5a8af80d989faa400745247fdbb5 (patch) | |
| tree | dde9508814ec968b8f4d6cfa1d5a179d65133d03 /doc/reference/javascript_reference.rst | |
| parent | 2aa5c812483296e00de21e343c8fbdb9857a9a6e (diff) | |
[FIX] stock: extra move in return
- Create a PO with 5 units of A and 10 units of B
- Receive the products
- Return the picking, but return 12 units of A and 10 units of B
The first picking (done state) will contain:
- 7 units of A, 0 qty done => it is an extra move
- 10 units of B, 10 qty done
But another picking (not done) is created, with
- 5 units of A, 12 qty done
The core of the issue is that the `origin_returned_move_id` is not
copied on the extra move. Therefore, it is not merged by `_merge_moves`
since the latter field is in the list of
`_prepare_merge_moves_distinct_fields`.
opw-1882959
Diffstat (limited to 'doc/reference/javascript_reference.rst')
0 files changed, 0 insertions, 0 deletions
