diff options
| author | Nicolas Martinelli <nim@odoo.com> | 2020-05-08 12:09:26 +0000 |
|---|---|---|
| committer | Nicolas Martinelli <nim@odoo.com> | 2020-05-13 13:19:10 +0000 |
| commit | 25cb4c18e5f49b83014f6b1abf63044a6ab6c2cf (patch) | |
| tree | 9b0e0009bf02458bddb62dbc44033d5c422b0263 /setup/odoo-wsgi.example.py | |
| parent | 63b0d01fa82128117279fabb6ff2bf1e300db3ed (diff) | |
[FIX] purchase_stock: receipt with return
- Create a PO, order 5 items
- Validate Receipt with 5 items
- Return 1 item to Vendor
- Update Order Quantity on PO, from 5 to 8
A picking of 3 units is created.
If the same workflow is used in Sales, a picking of 4 units would be
created, which is the expected behavior.
We adapt the logic of Sales [1] to Purchase.
[1] https://github.com/odoo/odoo/commit/8a3284685856b6980e3b620abdbbb3e2c79f57c4
opw-2233826
closes odoo/odoo#51174
X-original-commit: 74e8b9ab2311ed2c1c9cea53d09e3b352db3dbe6
Signed-off-by: Simon Lejeune (sle) <sle@openerp.com>
Diffstat (limited to 'setup/odoo-wsgi.example.py')
0 files changed, 0 insertions, 0 deletions
