[FIX] MRP : import statement fix
bzr revid: jvo@tinyerp.com-20100921120442-cqgi121lgzkqsmoi
This commit is contained in:
parent
05f2617d1b
commit
737db203a6
|
@ -378,7 +378,6 @@ class one2many_domain(fields.one2many):
|
|||
|
||||
move_obj = obj.pool.get('stock.move')
|
||||
res = {}.fromkeys(ids, [])
|
||||
key = operator.itemgetter(0)
|
||||
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)
|
||||
|
|
Loading…
Reference in New Issue