← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 663003] Re: [6.0rc1] mrp one2many_domain get returns only one move

 

** Changed in: openobject-addons
       Status: New => In Progress

-- 
[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: In Progress

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