Skip to content
Snippets Groups Projects
Commit 61734cda authored by Goffin Simon's avatar Goffin Simon
Browse files

[FIX] stock: Cancelled DO changed to Ready


State to reproduce the bug:

- Let's consider a 2 steps delivery setting
- Create a SO with a product P and a quantity Q and confirm it
- Pick: Deliver a smaller quantity than Q, don't create a backorder
  but duplicate the Pick and validate it with the remaining quantity.
- Out: the initial delivery order OUT P1  does not allow the reservation, so cancel it and duplicate it (let's call it P2).
- Click on Mark to do on P2

Bug:

The initial picking OUT P1 was changed in state Ready instead of keeping in state Cancelled

opw:2339217

closes odoo/odoo#60270

Signed-off-by: default avatarSimon Goffin (sig) <sig@openerp.com>
Co-authored-by: default avatarWhenrow <whe@odoo.com>
parent 6aa1de7a
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment