← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 628103] Re: [mrp] purchase merge wizard leaves the procurement pointing to the old PO (5.0)

 

** Changed in: openobject-addons/trunk
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/628103

Title:
  [mrp] purchase merge wizard leaves the procurement pointing to the old PO (5.0)

Status in OpenObject Addons Modules:
  Fix Released
Status in OpenObject Addons 5.0 series:
  New
Status in OpenObject Addons trunk series:
  Fix Released

Bug description:
  Hi!
5.0 latest bzr.
The purchase order merge wizard in the purchase module cancels all original POs and creates a new merged PO. If the original POs were created by mrp.procurement, the procurements have many2one links to the original POs. That link has to be updated by the wizard to the new merged PO to allow mrp.procurement to continue with it's workflow.

Patch is included but it can't be applied to purchase/wizard/wizard_group.py because the purchase module doesn't depend on mrp. The wizard should be overridden in mrp.