<?xml version="1.0"?>
<search string="Survey">
                <field string="Survey" name="title"/>
                <field string="Question &amp; Pages" name="question_and_page_ids"/>
                <filter string="Is a Certification" name="certification" domain="[('certification', '=', True)]"/>
                <filter string="Is not a Certification" name="not_certification" domain="[('certification', '=', False)]"/>
                <separator/>
                <filter string="Archived" name="inactive" domain="[('active', '=', False)]"/>
                <separator/>
                <filter invisible="1" string="Late Activities" name="activities_overdue" domain="[('my_activity_date_deadline', '&lt;', context_today().strftime('%Y-%m-%d'))]" help="Show all records which has next action date is before today"/>
                <filter invisible="1" string="Today Activities" name="activities_today" domain="[('my_activity_date_deadline', '=', context_today().strftime('%Y-%m-%d'))]"/>
                <filter invisible="1" string="Upcoming Activities" name="activities_upcoming_all" domain="[('my_activity_date_deadline', '&gt;', context_today().strftime('%Y-%m-%d'))]"/>
                <group expand="0" string="Group By">
                    <filter string="Responsible" name="group_by_responsible" context="{'group_by': 'user_id'}"/>
                </group>
            </search>
        