<?xml version="1.0"?>
<data><xpath expr="//span[@id='start_rating_buttons']" position="before">
                <button class="oe_stat_button" type="object" name="action_view_so" icon="fa-dollar" attrs="{'invisible': [('sale_order_id', '=', False)]}" string="Sales Order" groups="sales_team.group_sale_salesman_all_leads"/>
            </xpath>
            <xpath expr="//field[@name='partner_id']" position="attributes">
                <attribute name="options">{'always_reload': True}</attribute>
                <attribute name="context">{'res_partner_search_mode': 'customer'}</attribute>
            </xpath>
            <xpath expr="//field[@name='partner_phone']" position="after">
                <field name="sale_order_id" attrs="{'invisible': True}" groups="sales_team.group_sale_salesman"/>
                <field name="sale_line_id" groups="!sales_team.group_sale_salesman" string="Sales Order Item" options="{&quot;no_open&quot;: True}" readonly="1"/>
                <field name="sale_line_id" groups="sales_team.group_sale_salesman" string="Sales Order Item" options="{&quot;no_create&quot;: True}" readonly="0" context="{'create': False, 'edit': False, 'delete': False, 'with_price_unit': True}"/>
                <field name="commercial_partner_id" invisible="1"/>
            </xpath>
        </data>