I want to add the filter in search view which will only display the records whose next_calibration_due_on value is in the current month.
I tried for the greater than today's date and I succeeded
<record id="view_calibration_test_search" model="ir.ui.view">
<field name="name">calibration.test.search</field>
<field name="model">calibration.test</field>
<field name="arch" type="xml">
<search string="Calibration">
<field name="company_name"/>
<field name="calibration_date" filter_domain="[('calibration_date', '>=', self)]" string="From Date"/>
<field name="calibration_date" filter_domain="[('calibration_date', '<=', self)]" string="To Date"/>
<filter name="monthly_expiring" string="Expiring This Month"
domain="[('next_calibration_due_on', '>=', context_today())]"/>
</search>
</field>
</record>
But I want a filter for monthly range. How can I?