title: How to write search views in odoo v8?
body: <p>I have been trying to write search view for a class which has inherited from other class and I have tried writing the search view for it and also added a filter to it. But I am slightly confused on how to get things together. </p>
  
  <p>The following is the sequence of code:</p>
  
  <p>This is the class I have used for the search view </p>
  
  <pre><code>class mom_ac(osv.osv):
      _name='mom.ac'
      _inherit='mom.action'
      _columns = {
          'new_field':fields.char('Action'),
      }
  </code></pre>
  
  <p>and the corresponding search view for the above class along with filter</p>
  
  <pre><code>&lt;record id="minutes_meeting_search_view" model="ir.ui.view"&gt;
      &lt;field name="name"&gt;mom.ac&lt;/field&gt;
      &lt;field name="model"&gt;mom.ac&lt;/field&gt;
      &lt;field eval="10" name="priority"/&gt;
      &lt;field name="arch" type="xml"&gt;
          &lt;search string="MoM"&gt;
              &lt;filter icon="terp-mail-message-new" string="Action Items" name="my_requests_filter" domain="[('Status','!=','Done')]" /&gt;
              &lt;field name="act_ion"/&gt;
          &lt;/search&gt;
      &lt;/field&gt;
  &lt;/record&gt;
  </code></pre>
  
  <p>The following is the class from which it has been inherited</p>
  
  <pre><code>class mom_action(osv.Model):
      _name = 'mom.action'
      _columns = { 
          'act_ion' : fields.char('Action'),
          'meeting_id' : fields.many2one('mom.meeting','Meeting Id'),
          'asgnd_to': fields.many2one('res.users','Assigned To'),
          'due_date': fields.date('Due Date'),
          'Status'  : fields.selection([
                                      ('Yet to Start','Yet To Start'),
                                      ('In Progress', 'In Progress'),
                                      ('Done', 'Done'),
                      ], 'Status', readonly= False, select=True, default='Yet to Start'),
      }
  
  mom_action()
  </code></pre>
  
  <p>When I click on my filter, it does not display list view with results and also when I try with Advanced Search provided by Search view, results are not shown.</p>
  
  <p>Please help me on this.</p>