title: Odoo , Domain, filter date and month
body: <p>I try to create a filter domain in sale.report as : Month(order_date) = month(current_date) AND Day(order_date) &lt;= Day(current_date).</p>
  
  <pre><code>filter string="This Month" domain="[(('date').strftime('%%m'),'=', ((context_today()).strftime('%%m'))),(('date').strftime('%%d'),'&amp;gt;=', ((context_today()).strftime('%%d')))]"/&gt;
  </code></pre>
  
  <p>I have a problem in left side of domain : ('date'), System say: AttributeError: object has no attribute 'strftime'.</p>
  
  <p>try many combination, but response it's same.</p>
  
  <p>Have you an idea ? What is the type of object 'date' ?</p>
  
  <p>Thanks</p>