[6.0rc1] mrp one2many_domain get returns only one move

Bug #663003 reported by Diego Abad
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Released
Undecided
Unassigned

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)

Tags: 6.0rc1

Related branches

Diego Abad (dabada83)
description: updated
Changed in openobject-addons:
milestone: none → 6.0-rc2
tags: added: 6.0rc1
summary: - mrp rc1 one2many_domain get return only one move
+ [6.0rc1] mrp one2many_domain get returns only one move
Changed in openobject-addons:
status: New → In Progress
Revision history for this message
Harry (OpenERP) (hmo-tinyerp) wrote :

Hello,

Now many2many and one2many field support domain at server revision 2922.
so I removed many2many_domain,one2many_dommain in mrp.py at addons revision 4438,

Please update server and addons now. if any problem, you can re-open this bug.
Thanks

Changed in openobject-addons:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.