This question has been flagged

Here you can find the domain to filter on today's date.

Avatar
Discard
Author Best Answer

Here you can find the domain to filter on today's date.



['&',
('x_date_start', '>=', context_today().strftime("%Y-%m-%d 00:00:00")),
('x_date_start', '<=', context_today().strftime("%Y-%m-%d 23:59:59"))
]



You can create a user defined filter and add the code in the domain field. Note that you need to adapt the date field name to the field you want to filter on.

Avatar
Discard