<?xml version="1.0"?>
<data><field name="delay" position="after">
                <field name="show_set_supplier_button" invisible="1"/>
                <field name="last_purchase_date"/>
                <button name="action_set_supplier" type="object" string="Set as Supplier" class="btn btn-link" context="{'orderpoint_id': parent.orderpoint_id, 'stock_replenishment_info_id': parent.id}" attrs="{'invisible': [('show_set_supplier_button', '=', False)]}"/>
            </field>
            <xpath expr="//tree" position="attributes">
                <attribute name="decoration-bf">parent.supplierinfo_id == id</attribute>
            </xpath>
            <field name="min_qty" position="attributes">
                <attribute name="decoration-danger">min_qty &gt; parent.qty_to_order</attribute>
            </field>
            <field name="company_id" position="attributes">
                <attribute name="optional">hide</attribute>
            </field>
            <field name="delay" position="attributes">
                <attribute name="optional">show</attribute>
            </field>
        </data>