title: Domain for one2many not working Odoo
body: <p>In my module I want to filter one2many records based on current date. 
  This is my xml code </p>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;field name="record_ids" domain="[('end_date', '&amp;gt;', cur_date)]"&gt;
      &lt;tree string="records_tree"&gt;
          &lt;field name="record_id"/&gt;
          &lt;field name="record"/&gt;
          &lt;field name="start_date"/&gt;
          &lt;field name="end_date"/&gt;
      &lt;/tree&gt;
  &lt;/field&gt;
  </code></pre>
  
  <p>cur_date is a functional field I added to get current date.</p>
  
  <p>My problem is records are not filtered in the view. Also it doesn't show any error message </p>