<?xml version="1.0"?>
<data><xpath expr="//group[@name='sale_info_group']/field[@name='invoice_user_id']" position="after">
                <field name="team_id" kanban_view_ref="468"/>
            </xpath>
            <xpath expr="//group[@id='other_tab_group']" position="inside">
                <group string="Marketing" name="utm_link" groups="base.group_no_one" attrs="{'invisible': [('move_type', 'not in', ('out_invoice', 'out_refund'))]}">
                    <field name="campaign_id" options="{'create_name_field': 'title', 'always_reload': True}"/>
                    <field name="medium_id"/>
                    <field name="source_id"/>
                </group>
            </xpath>
            <xpath expr="//div[@name='button_box']" position="inside">
                <button class="oe_stat_button" name="action_view_source_sale_orders" type="object" icon="fa-pencil-square-o" attrs="{'invisible': ['|', ('sale_order_count', '=', 0), ('move_type', 'not in', ('out_invoice', 'out_refund', 'in_invoice', 'in_refund', 'out_receipt', 'in_receipt'))]}">
                    <field string="Sale Orders" name="sale_order_count" widget="statinfo"/>
                </button>
            </xpath>
        </data>