title: Get list of ids - Odoo
body: <p>I want get a list of ids in odoo 9...</p>
  
  <p>No working because expected a singleton</p>
  
  <pre><code>order_recs = order_obj.search([('date_order','&lt;=',previous_start_date),('date_order','&gt;=',previous_new_rec_date)]).id
  
  order_line_recs = order_line_obj.search([('order_id','in',order_recs)])
  </code></pre>
  
  <p>I expected order_line_recs with a list o order_line</p>