Hello,
I want to use a computed field in a right side domain filter expression. so i declared the field as invisible in the seach view, but i got it as undefined when using filter. This field is supposed to return a variable date format pattern.
<field name="date_start_quarter_start" invisible="1"/>
<filter string="All quarter RDV" name="all_this_quarter_rdv" domain="[ '&',('start', '>=', date_start_quarter_start), ('start', '<=', date_start_quarter_end)]"/>
<filter string="All quarters rdv" name="all_this_month_rdv" domain="['&',('start', '>=', context_today().strftime('%Y-%m-01')),('start', '<=', context_today().strftime('%Y-%m-31'))]"/>