diff options
| author | Nicolas Martinelli <nim@odoo.com> | 2019-03-28 10:10:43 +0000 |
|---|---|---|
| committer | Nans Lefebvre <len@odoo.com> | 2019-08-20 08:46:36 +0000 |
| commit | 7cbc088d8408d647ec6111fc052a73f16365e991 (patch) | |
| tree | 93ded900dfd28cacc92abd0332286905adff2737 /doc/reference/javascript_reference.rst | |
| parent | 5e3d49bc474271dfb7807fe4c21bbfb737e7c853 (diff) | |
[FIX] purchase: return dropship
Backport of 4da82776ffb.
Because of e38ed7c7 the code moved between versions, but is otherwise identical.
- Set an internal location as a return location
- Create a SO with a dropship product, validate and deliver
- Return the product, and choose the internal location as the return
location.
The received quantity on the PO is counted twice.
Since the return is an 'in' move linked to a PO, it is automatically
counted as incoming quantity.
This case is quite specific, so we explicitly add an exception in case
the origin move was a dropship, but the return is not a returned
dropship.
opw-1958228
opw 2045685
closes odoo/odoo#35831
Signed-off-by: Nans Lefebvre (len) <len@odoo.com>
Diffstat (limited to 'doc/reference/javascript_reference.rst')
0 files changed, 0 insertions, 0 deletions
