<?xml version="1.0"?>
<data><div name="button_box" position="inside">
                    <button class="oe_stat_button" name="601" type="action" groups="purchase.group_purchase_user" icon="fa-credit-card">
                        <field string="Purchases" name="purchase_order_count" widget="statinfo"/>
                    </button>
                </div>
                <page name="internal_notes" position="inside">
                    <group groups="purchase.group_purchase_user">
                        <group groups="purchase.group_warning_purchase" col="2">
                            <separator string="Warning on the Purchase Order" colspan="2"/>
                            <field name="purchase_warn" nolabel="1" colspan="2" required="1"/>
                            <field name="purchase_warn_msg" colspan="2" placeholder="Type a message..." nolabel="1" attrs="{'required':[('purchase_warn','!=', False), ('purchase_warn','!=','no-message')], 'invisible':[('purchase_warn','in',(False,'no-message'))]}"/>
                        </group>
                    </group>
                </page>
            </data>