<?xml version="1.0"?>
<button name="action_open_documents" position="after">
                    <button class="oe_stat_button" name="action_view_po" groups="purchase.group_purchase_user" type="object" icon="fa-credit-card" invisible="not purchase_ok" help="Purchased in the last 365 days">
                        <div class="o_field_widget o_stat_info">
                            <span class="o_stat_value d-flex gap-1">
                                <field name="purchased_product_qty" widget="statinfo" nolabel="1" class="oe_inline"/>
                                <field name="uom_name" class="oe_inline" groups="uom.group_uom"/>
                            </span>
                            <span class="o_stat_text">Purchased</span>
                        </div>
                    </button>
                </button>
            