summaryrefslogtreecommitdiff
path: root/odoo/addons/test_new_api/tests/test_new_fields.py
diff options
context:
space:
mode:
authorNicolas Martinelli <nim@odoo.com>2020-06-19 10:17:57 +0000
committerNicolas Martinelli <nim@odoo.com>2020-06-23 12:41:15 +0000
commit536759644e13448f1c2b14d95cc8ecb44e5f0b24 (patch)
tree6a6c3d101994da9ca0bc4f8c1758ef4b01e3a383 /odoo/addons/test_new_api/tests/test_new_fields.py
parent8b49908f8c89a2e5471642890662ce841a0cd405 (diff)
[FIX] stock: reserved quantity on return of return
1. Activate receipt in 2 steps 2. Make a PO of 10 3. Receive 8 (pick 1), backorder 4. Receive 2 (pick 2) 5. Unreserve the internal transfer (pick 3) 6. Go to pick 2, return 2 (pick 4) => product is sent back to the supplier 7. Go to pick 4, return 2 (pick 5) => product is received from the supplier 8. Go to pick 3, check availability Only 8 units are reserved instead of 10. It happens because pick 5 (return of the return) is not linked to the pick 3 (internal transfer). We use a similar approach for `move_dest_to_link` than the one used for `move_orig_to_link`. Closes #52459 opw-2271838 closes odoo/odoo#53506 X-original-commit: c96339dd94ffe1e9c5103814062455c79d93a273 Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
Diffstat (limited to 'odoo/addons/test_new_api/tests/test_new_fields.py')
0 files changed, 0 insertions, 0 deletions