<?xml version="1.0"?>
<search>
                    <field name="name" string="Journal Item" filter_domain="['|', '|', '|', '|', '|', ('name', 'ilike', self), ('ref', 'ilike', self), ('partner_id', 'ilike', self), ('amount_residual', 'ilike', self), ('amount_residual_currency', 'ilike', self), ('discount_amount_currency', 'ilike', self)]"/>
                    <field name="invoice_date"/>
                    <field name="date"/>
                    <field name="account_id"/>
                    <field name="partner_id"/>
                    <field name="journal_id"/>
                    <field name="currency_id" groups="base.group_multi_currency"/>
                    <field name="move_id" string="Journal Entry" filter_domain="['|', ('move_id.name', 'ilike', self), ('move_id.ref', 'ilike', self)]"/>
                    <separator/>
                    <filter name="amount_received" string="Incoming" domain="[('balance', '&gt;', 0.0)]"/>
                    <filter name="amount_paid" string="Outgoing" domain="[('balance', '&lt;', 0.0)]"/>
                    <separator/>
                    <filter name="posted" string="Posted" domain="[('parent_state', '=', 'posted')]"/>
                    <filter name="draft" string="Draft" domain="[('parent_state', '=', 'draft')]"/>
                    <separator name="inject_after"/>
                    <filter name="date" string="Date" date="date"/>
                    <filter name="invoice_date" string="Invoice Date" date="invoice_date"/>
                </search>
            