c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #00680
[Bug 663003] Re: [6.0rc1] mrp one2many_domain get returns only one move
** Branch linked: lp:openobject-addons
--
[6.0rc1] mrp one2many_domain get returns only one move
https://bugs.launchpad.net/bugs/663003
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to OpenERP OpenObject.
Status in OpenObject Addons Modules: Fix Released
Bug description:
get function on one2many_domain on mrp.py only return one move. Should be
return a list of all product finished.
Check this
move_ids = move_obj.search(cr, user, self._domain+[('production_id', 'in', tuple(ids))], context=context)
related_move_dict = dict([(o.production_id.id, [o.id]) for o in move_obj.browse(cr, user, move_ids, context=context)])
res.update(related_move_dict)
References