title: How can I populate selection type field
body: <p>I would like to populate my second selection type field based on the value return by my on_changed method. </p>
  
  <p>Heres my code</p>
  
  <pre><code>def on_change_location_dest(self, cr, uid, ids, location_dest, context=None):
      x = {}
      x = location_dest
      sql_res = cr.execute("select sm.picking_id, sp.name from stock_move sm inner join stock_picking sp on sm.picking_id = sp.id where sm.location_dest_id=" + str(x))
      res = cr.fetchall()
      return {'value':{'reference_code': res}}
  
  _columns = {
      'location_dest': fields.selection(_get_location_dest_no_sqlquery,'Division', required=True),
      'reference_code': fields.selection(on_change_location_dest,'RIS No.:', required=True),
  }
  
  &lt;field name="location_dest" on_change="on_change_location_dest(reference_code)"/&gt;
                          &lt;newline /&gt;
                          &lt;field name="location_origin" /&gt;
                          &lt;newline /&gt;
                          &lt;field name="reference_code" /&gt;
  </code></pre>
  
  <p>Is this possible?</p>