I am trying to do this:
env['stock.move'].search([('picking_id','==',current_stock_picking)])-current_stock_pikcing holds a given id value (in this test is 3)-.
But I get:
Invalid leaf ('picking_id', '==', 3)", "name": "exceptions.ValueError", "arguments": ["Invalid leaf ('picking_id', '==', 3)"]}}
How should I specify the search/subset condition? Thanks