<?xml version="1.0" encoding="utf-8" ?>
<odoo>
    <record id="account_payment_order_form" model="ir.ui.view">
        <field name="model">account.payment.order</field>
        <field
            name="inherit_id"
            ref="account_payment_order.account_payment_order_form"
        />
        <field name="arch" type="xml">
            <div class="oe_button_box" position="inside">
                <button
                    class="oe_stat_button"
                    name="action_grouped_moves"
                    type="object"
                    icon="fa-bars"
                >
                    <field
                        string="Grouped Entries"
                        name="grouped_move_count"
                        widget="statinfo"
                    />
                </button>
            </div>
        </field>
    </record>
</odoo>
