<?xml version="1.0"?>
<search string="Search Statements">
                    <field name="name" string="Statement"/>
                    <field name="date"/>
                    <filter string="Empty" name="empty" domain="[('line_ids','=',False)]"/>
                    <filter name="invalid" string="Invalid" domain="['|', ('is_valid', '=', False),('is_complete', '=', False)]"/>
                    <separator/>
                    <filter name="filter_date" date="date"/>
                    <field name="journal_id" domain="[('type', 'in', ('bank', 'cash', 'credit'))]"/>
                    <group expand="0" string="Group By">
                        <filter string="Journal" name="journal" context="{'group_by': 'journal_id'}"/>
                        <filter string="Date" name="date" context="{'group_by': 'date'}"/>
                    </group>
                </search>
            