[FIX] hr_contract: fix the filter for start date and end date in contract tree view

This will add options for month, quarters and year selection to the start and end dates filters.

closes odoo/odoo#154577

Task: 3725209
X-original-commit: ac21aa953b19ba2e7bdb33b52a2616a50362d2e6
Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
This commit is contained in:
Arthur Pierrot
2024-02-19 16:29:18 +00:00
parent 2228b92f46
commit b7bceb318f
@@ -115,8 +115,8 @@
<filter string="Running Contracts" name="running" domain="[('state', '=', 'open')]"/>
<filter string="Contracts to review" name="not_running" domain="[('state', 'in', ['draft', 'close'])]"/>
<separator />
<filter string="Start Date" name="start_date"/>
<filter string="End Date" name="end_date"/>
<filter string="Start Date" name="start_date" date="date_start"/>
<filter string="End Date" name="end_date" date="date_end"/>
<separator/>
<filter string="Archived" name="inactive" domain="[('active', '=', False)]"/>
<separator/>