← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 788789] [NEW] [6.0.x][purchase] action_picking_create: broken extensibility

 

Public bug reported:

Hello,

there is a design issue in purchase#action_picking_create
the method actually applies to a collection of purchase orders but actually returns only the id of the last picking that is generated.
To play nice efficiently with overriders, you need to change that and return a dictionary of all the generated pickings, just as you do in sale#action_ship_create

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

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

Title:
  [6.0.x][purchase] action_picking_create: broken extensibility

Status in OpenERP Modules (addons):
  New

Bug description:
  Hello,

  there is a design issue in purchase#action_picking_create
  the method actually applies to a collection of purchase orders but actually returns only the id of the last picking that is generated.
  To play nice efficiently with overriders, you need to change that and return a dictionary of all the generated pickings, just as you do in sale#action_ship_create


Follow ups

References