[6.0.x][purchase] action_picking_create: broken extensibility
Bug #788789 reported by
Raphaël Valyi - http://www.akretion.com
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Invalid
|
Low
|
OpenERP R&D Addons Team 2 |
Bug Description
Hello,
there is a design issue in purchase#
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_
Related branches
lp:~openerp-dev/openobject-addons/trunk-bug-788789-mma
Rejected
for merging
into
lp:openobject-addons
- Rucha (Open ERP) (community): Approve
-
Diff: 12 lines (+1/-1)1 file modifiedpurchase/purchase.py (+1/-1)
Changed in openobject-addons: | |
status: | Incomplete → Triaged |
Changed in openobject-addons: | |
status: | Confirmed → In Progress |
To post a comment you must log in.
Hello Raphael Valyi,
I have checked your issue with latest trunk and stable both.
But I have seen that in sale module "action_ ship_create" return a "True" not dictionary of all the generated pickings.
So would you please elaborate with more information on this and tell where you faced the problem if purchase# action_ picking_ create method returns a only the id of the last picking.
Thanks.