<?xml version="1.0"?>
<data><button name="action_open_documents" position="before">
                    <button class="oe_stat_button" name="699" type="action" groups="mrp.group_mrp_user" invisible="type != 'consu'" icon="fa-flask">
                        <field string="Bill of Materials" name="bom_count" widget="statinfo"/>
                    </button>
                </button>
                <button name="action_open_documents" position="after">
                    <button class="oe_stat_button" name="action_used_in_bom" type="object" groups="mrp.group_mrp_user" invisible="type != 'consu' or used_in_bom_count == 0" icon="fa-level-up">
                        <field string="Used In" name="used_in_bom_count" widget="statinfo"/>
                    </button>
                    <button class="oe_stat_button" name="action_view_mos" type="object" groups="mrp.group_mrp_user" invisible="type != 'consu' or bom_count == 0 or mrp_product_qty == 0" icon="fa-list-alt" help="Manufactured in the last 365 days">
                        <div class="o_field_widget o_stat_info">
                            <span class="o_stat_value d-flex gap-1">
                                <field name="mrp_product_qty" widget="statinfo" nolabel="1" class="mr4"/>
                                <field name="uom_name" groups="uom.group_uom"/>
                            </span>
                            <span class="o_stat_text">Manufactured</span>
                        </div>
                    </button>
                </button>
            </data>