c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #00681
[Bug 663003] Re: [6.0rc1] mrp one2many_domain get returns only one move
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
--
[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