← Back to team overview

openerp-india team mailing list archive

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

 

** Also affects: ocb-addons/6.1
   Importance: Undecided
       Status: New

** Changed in: ocb-addons/6.1
       Status: New => Fix Committed

** Changed in: ocb-addons/6.1
     Assignee: (unassigned) => Yann Papouin (yann-papouin)

** Changed in: ocb-addons
     Assignee: Yann Papouin (yann-papouin) => (unassigned)

-- 
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/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):
  New

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


References