← Back to team overview

openerp-expert-production team mailing list archive

[Bug 528320] Re: [stock] picking cancels done moves (5.0)

 

Now to answer other comments: in OpenERP rather than accepting false
"cancel" actions on document that can't be cancelled (typically invoices
and pickings), we currently provide wizards to create the reversed
documents. For example you can use the return picking wizard on a
picking, or the refund invoice wizard on an invoice.

As stock moves are usually less strict than invoices in legal terms, and
often more error-prone (missing traceability info, packs, etc.), in v6
we will attempt to make the pickings/moves partially editable even after
being processed, to be able fix these kinds of errors (except some main
fields that won't be modifiable: products, quantities, locations, etc.).
In terms of completely cancelling the document however, we still won't
allow doing it, a reversed one must be created instead (and traceability
will include the return accordingly)

-- 
[stock] picking cancels done moves (5.0)
https://bugs.launchpad.net/bugs/528320
You received this bug notification because you are a member of OpenERP
Manufacturing Experts, which is a direct subscriber.

Status in OpenObject Addons Modules: Confirmed

Bug description:
Hi!
5.0 latest bzr.
When a picking is cancelled, it cancels all moves, even if the moves are in done state. 'done' moves should never be altered.

Test case:
A picking with 3 moves. 2 of them are assigned, 1 is only confirmed because it doesn't have enough stock. Make the picking done and write the originally requested amount for move 3 instead of 0 in the partial picking wizard. Force the picking. 
Now there are 2 done lines and an assigned line. The stock worker changes his mind and cancels the picking. All 3 lines become cancelled.

Fix is provided in the attached patch.