If I do:
moves = env['stock.move'].search([('picking_id','=',current_stock_picking)])I retrieve the list of id's of moves with a given picking_id.
And I can do things like:
for move in moves:
print move.id
So far, so good. But, is it possible to retrieve more fields than id while searching? Or do I have to later retrieve the fields for every id? If so, how?
I obviously want to use other stock_move fields -such as, for example, origin-, using just:
move.origin
Thanks,