← Back to team overview

openerp-india team mailing list archive

[Bug 947838] Re: Sale exception: recreate packing duplicates confirmed moves

 

Hello Lionel,

I have analysed your bug  and here is my conclusion.

This seems like more a generic business process where you can only see
the 'remaining' moves to be created IF and Only IF the ancestor
Delivery/picking is 'Done'. Making it easy, if the previous order's move
is not done, recreation of picking is going to create new move!

In our case, what we do is, we cancel a move (out of 2). Now the
Original picking has one move cancelled, and another in any state other
than cancel or done.

When you "recreate packing" your sale order it checks the state of all
line's procurements one by one. In our case, system does have an older
picking which is not yet done, so system tries to recreate the picking
with same moves(2).

So, if you have completed(set done) your original picking, you would get
only one move in the new picking getting generated from recreation.

Hope this clears some view.

Kindly correct my analysis if I have gone wrong.

Regards,
Anil,
Serpent Consulting Services.

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/947838

Title:
  Sale exception: recreate packing duplicates confirmed moves

Status in OpenERP Addons (modules):
  Invalid

Bug description:
  When delivering a sale order:
  - confirm the picking
  - cancel a single stock move
  => the sale order eventually goes into "exception" state (normal: 1 move canceled = 1 procurement canceled = sale exception).
  But when you click "recreate packing", a new picking will be created with :
  - a new version of the canceled move
  - AND a new version of the confirmed moves
  The confirmed moves and the related procurements get duplicated, resulting in goods being purchased/manufactured twice, and sent twice to the customer.
  Lionel Sausin.

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/947838/+subscriptions


References