<?xml version="1.0"?>
<search string="Search Survey User Inputs">
                <field name="email" string="Participant" filter_domain="[                     '|',                     ('partner_id', 'ilike', self),                     ('email', 'ilike', self)]"/>
                <field name="partner_id"/>
                <field name="survey_id"/>
                <filter name="completed" string="Completed" domain="[('state', '=', 'done')]"/>
                <filter string="In Progress" name="in_progress" domain="[('state', '=', 'in_progress')]"/>
                <filter string="New" name="new" domain="[('state', '=', 'new')]"/>
                <separator/>
                <filter string="Quizz passed" name="scoring_success" domain="[('scoring_success','=', True)]"/>
                <separator/>
                <filter string="Tests Only" name="test" domain="[('test_entry','=', True)]"/>
                <filter string="Exclude Tests" name="not_test" domain="[('test_entry','=', False)]"/>
                <group expand="0" string="Group By">
                    <filter name="group_by_survey" string="Survey" domain="[]" context="{'group_by': 'survey_id'}"/>
                    <filter string="Email" name="group_by_email" domain="[]" context="{'group_by': 'email'}"/>
                    <filter string="Partner" name="group_by_partner" domain="[]" context="{'group_by': 'partner_id'}"/>
                </group>
            </search>
        