Hi,
I am trying to implement a filter to display records created within the last 30 minutes. Here is the code snippet I am using:
<filter
name="wave_and_recent_creation"
string="Wave created in Last 30 Min"
domain="[
('batch_id', '!=', False),
('batch_creation_date', '>=', (context_today() + datetime.timedelta(minutes=30)).strftime('%Y-%m-%d %H:%M:%S'))
]"
/>
However, this code is not working as expected. Could you guide me on how to correct it and implement the filter properly?