I see the code more elegant in this way, but it doesn't really matter:
picking_ids = set() for move_obj in move_pool.browse(cr, uid, ids, context=context): if move_obj.picking_id: picking_ids.add(move_obj.picking_id.id) return list(picking_ids)
Regards.
« Back to merge proposal
I see the code more elegant in this way, but it doesn't really matter:
picking_ids = set() browse( cr, uid, ids, context=context): picking_ id:
picking_ ids.add( move_obj. picking_ id.id)
for move_obj in move_pool.
if move_obj.
return list(picking_ids)
Regards.