← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 663003] [NEW] mrp rc1 one2many_domain get return only one move

 

Public bug reported:

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)

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

** Description changed:

-- 
mrp rc1 one2many_domain get return 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: New

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)







Follow ups

References