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
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 2/5/16, 7:02 PM|
|Seen: 366 times|
|Last updated: 2/5/16, 7:10 PM|