OpenERP 7 tree view doesn't show search box and other filters
<p>I have created a tree view to extend account.invoice module with a list with custom and special columns. I am trying to insert a search view but it is no working (I can show data in tree view but not the search box and other filters I need).</p>

<p>XML:</p>

<pre><code>&lt;openerp&gt;
   &lt;data&gt;
      &lt;record model="ir.ui.view" id="view_account_invoices_resume_list"&gt;
         &lt;field name="name"&gt;account.invoice.resume.tree&lt;/field&gt;
         &lt;field name="model"&gt;account.invoice.resume&lt;/field&gt;
         &lt;field name="type"&gt;tree&lt;/field&gt;
         &lt;field name="arch" type="xml"&gt;
            &lt;tree string="Invoices list"&gt;
               &lt;field name="date_invoice"/&gt;
               &lt;field name="number"/&gt;
               &lt;field name="partner_id"/&gt;
               &lt;field name="inv_vat"/&gt;
               &lt;field name="tax_base_0"/&gt;
               &lt;field name="tax_base_4"/&gt;
               &lt;field name="tax_base_10"/&gt;
               &lt;field name="tax_base_21"/&gt;
               &lt;field name="tax_iva_4"/&gt;
               &lt;field name="tax_iva_10"/&gt;
               &lt;field name="tax_iva_21"/&gt;
               &lt;field name="amount_total" sum="Total Amount"/&gt;
            &lt;/tree&gt;
         &lt;/field&gt;
      &lt;/record&gt;
      &lt;record model="ir.ui.view" id="view_account_invoices_resume_search"&gt;
         &lt;field name="name"&gt;account.invoice.resume.search&lt;/field&gt;
         &lt;field name="model"&gt;account.invoice.resume&lt;/field&gt;
         &lt;field name="arch" type="xml"&gt;
            &lt;search string="Filtrado de facturas"&gt;
               &lt;field name="date_invoice_from" filter_domain="[('date_invoice','&gt;=',self)]"/&gt;
               &lt;field name="date_invoice_to" filter_domain="[('date_invoice','&lt;=',self)]"/&gt;
            &lt;/search&gt;
         &lt;/field&gt;
      &lt;/record&gt;
      &lt;record model="ir.actions.act_window" id="action_account_invoices_resume_list_tree"&gt;
         &lt;field name="name"&gt;Facturas para gestoría&lt;/field&gt;
         &lt;field name="res_model"&gt;account.invoice.resume&lt;/field&gt;
         &lt;field name="view_type"&gt;form&lt;/field&gt;&lt;field name="view_mode"&gt;tree,form&lt;/field&gt;
         &lt;field name="view_id" ref="view_account_invoices_resume_search"/&gt;
         &lt;field name="domain"&gt;[('type','=','out_invoice'),('state','in',['open','paid'])]&lt;/field&gt;
      &lt;/record&gt;
      &lt;menuitem id="menu_invoices_for_closure_list_client" name="Facturas de clientes para gestoría" parent="account.menu_finance_receivables" sequence="10" action="action_account_invoices_resume_list_tree"/&gt;
   &lt;/data&gt;
&lt;/openerp&gt;
</code></pre>