← Back to team overview

openerp-india team mailing list archive

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

 

Public bug reported:

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

** Affects: openobject-addons
     Importance: Undecided
         Status: New

-- 
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 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/openobject-addons/+bug/1249345/+subscriptions


Follow ups

References