<?xml version="1.0"?>
<search>
                    <field name="name"/>
                    <field name="date_to"/>
                    <field name="date_from"/>
                    <field name="date_deadline"/>
                    <field name="type_id"/>
                    <field name="state"/>
                    <field name="date_submission"/>
                    <filter name="todo_returns" string="To Do" domain="[('is_completed', '=', False), ('date_to', '&lt;', context_today())]"/>
                    <filter name="done_returns" string="Done" domain="[('is_completed', '=', True)]"/>
                    <filter name="groupby_deadline" string="Deadline" context="{'group_by': 'date_deadline:month'}"/>
                    <filter name="groupby_type_id" string="Return Type" context="{'group_by': 'type_id'}"/>
                </search>
            