<data><page name="internal_notes" position="inside">
                <group groups="stock.group_warning_stock">
                    <group col="2">
                        <separator string="Warning on the Picking" colspan="2"/>
                        <field name="picking_warn" nolabel="1" colspan="2" required="1"/>
                        <field name="picking_warn_msg" placeholder="Type a message..." colspan="2" nolabel="1" invisible="picking_warn in (False, 'no-message')" required="picking_warn and picking_warn != 'no-message'"/>
                    </group>
                </group>
            </page>

            <xpath expr="//div[@name='button_box']" position="inside">
                <button type="object" name="action_view_stock_lots" class="oe_stat_button" icon="fa-bars" groups="stock.group_production_lot">
                    <div class="o_stat_info">
                        <span class="o_stat_text">Lot/Serial Numbers</span>
                    </div>
                </button>
            </xpath>
        </data>