Today Filter in Search View

Today Domain Filter Apply in Search View as Filter

Probuse Admin
You can add below filer in your search view. (adjust field as per your module):


<filter string="Today" name="custom_today_order" domain="[('date', '&gt;', context_today().strftime('%Y-%m-%d 00:00:00')),('date', '&lt;', context_today().strftime('%Y-%m-%d 23:59:59'))]"/>