Hello,
I try to create a filter domain in sale.report as : Month(order_date) = month(current_date) AND Day(order_date) <= Day(current_date).
<filter string="New Filter" domain="[(('date').strftime('%%m'),'=',((context_today()).strftime('%%m'))),
(('date').strftime('%%d'),'>=', ((context_today()).strftime('%%d')))]"/>
I have a problem in left side of domain : ('date'), System say: AttributeError: object has no attribute 'strftime'.
try many combination, but response it's same.
Have you an idea ? What is the type of object 'date' ?
Thanks