<?xml version="1.0"?>
<search string="Search Visitor">
                <field name="visitor_id"/>
                <field name="page_id"/>
                <field name="url"/>
                <field name="visit_datetime"/>
                <filter string="Pages" name="type_page" domain="[('page_id', '!=', False)]"/>
                <filter string="Urls &amp; Pages" name="type_url" domain="[('url', '!=', False)]"/>
                <group string="Group By">
                    <filter string="Visitor" name="group_by_visitor" domain="[]" context="{'group_by': 'visitor_id'}"/>
                    <filter string="Page" name="group_by_page" domain="[]" context="{'group_by': 'page_id'}"/>
                    <filter string="Url" name="group_by_url" domain="[]" context="{'group_by': 'url'}"/>
                    <filter string="Date" name="group_by_date" domain="[]" context="{'group_by': 'visit_datetime'}"/>
                </group>
            </search>
        