← Back to team overview

openerp-expert-production team mailing list archive

[Bug 553112] [MERGE] [FIX] stock: in the partial packing wizard, backorders were recorded in the wrong picking

 

Sorry for posting late - my email was sent from the wrong address and 
was refused by Launchpad.

Here's a merge directive with my proposal.
- the original picking now changes little - only quantities are changed.
- the backorder is now the new picking, not the original one
- in the original picking, even the records with quantity=0 are kept. I
do find it convenient, but if you object to that, those records could be
collected and removed.
- I cleaned the context usage a bit (I can provide a separate patch for
that if it helps reviewing)

Now, I don't see a case where this new behaviour would be a problem when
shipping or getting goods. The only thing i'm still unsure is whether
procurements are right this way.
Experts, could you please advise?

Lionel

-- 
Partial packing wizard seems to change the id of existing pickings
https://bugs.launchpad.net/bugs/553112
You received this bug notification because you are a member of OpenERP's
Manufacturing Experts, which is a direct subscriber.

Status in OpenObject Addons Modules: New

Bug description:
In v5.0, when you make a partial packing the wizard will create a copy of the packing and stock moves.
That's fine but then it does something I find rather weird:
- it lets the original stock picking and stock move "confirmed" and sets the quantities to the quantities remaining to be sent
- it sets the quantities actually sent to the stock new moves
- and it marks the old picking a backorder of the new one

As a result, the old picking seems to have "changed identity": new id, new reference. Anything you've printed, sent announced to your customer or your carrier is obsolete.
If you happen to have a little complex situation (like several partial pickings in a row), it's incredibly difficult for the user to understand what happened.

The wizard should:
- copy the picking
- use the original picking as the one actually sent
- use the copy as the one remaining to be sent
- mark the copy a backorder of the original.