← Back to team overview

openerp-community-reviewer team mailing list archive

[Bug 1249345] Re: [6.1][7.0][trunk][sale] Recreate Packing create duplicates

 

*** This bug is a duplicate of bug 947838 ***
    https://bugs.launchpad.net/bugs/947838

Hello Yann,

Linked your branch with lp:947838, and marking this as a duplicate of
lp:947838.

Thank you!

** This bug has been marked a duplicate of bug 947838
   Sale exception: recreate packing duplicates confirmed moves

-- 
You received this bug notification because you are a member of OpenERP
Community Backports Team, which is subscribed to OpenERP Community
Backports (Addons).
https://bugs.launchpad.net/bugs/1249345

Title:
  [6.1][7.0][trunk][sale] Recreate Packing create duplicates

Status in OpenERP Community Backports (Addons):
  New
Status in OpenERP Community Backports (Addons) 6.1 series:
  Fix Committed
Status in OpenERP Addons (modules):
  Incomplete

Bug description:
  The "Recreate Packing" that is used to fix a sale order exception is actually recreating ALL procurements without checking existing ones. That leads to have for the same line multiple/duplicates :
  - Picking
  - Moves
  - Purchase orders
  - Production orders

  A proper way would be to check for each sale order line the
  procurement status and recreate a procurement ONLY if the existing one
  is canceled.

  If it's the case, then a new picking is created and attached to
  current sale order with the new procurements and matching lines watch
  their state reset to 'confirmed'. (Existing moves related to the
  previous procurement in these lines are canceled).

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