← Back to team overview

openerp-india team mailing list archive

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

 

Dear Anil Kesariya,
Thanks for your patch.
I find it a bit hard to read with all the double-negations. Do you intend to skip all Sale Order Lines that have Stock Moves unless one was canceled?
If so, what about the attached patch?
Lionel

** Attachment added: "More explicit patch"
   https://bugs.launchpad.net/openobject-addons/+bug/947838/+attachment/3424516/+files/patch

-- 
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