<?xml version="1.0"?>
<data><xpath expr="//group[@name='main_details']" position="after">
                <field name="allow_billable" invisible="1"/>
                <group invisible="not allow_billable">
                    <field name="project_partner_id" invisible="1"/>
                    <field name="sale_line_id" groups="!sales_team.group_sale_salesman" placeholder="Non-billable" options="{'no_open': True}" readonly="1"/>
                    <field name="sale_line_id" groups="sales_team.group_sale_salesman" options="{'no_create': True}" placeholder="Non-billable" readonly="0"/>
                    <label for="quantity_percentage" invisible="not sale_line_id"/>
                    <div class="col-6" invisible="not sale_line_id">
                        <field name="quantity_percentage" groups="!sales_team.group_sale_salesman" widget="percentage" readonly="1" class="mw-25"/>
                        <field name="quantity_percentage" class="mw-25" groups="sales_team.group_sale_salesman" widget="percentage" decoration-danger="quantity_percentage &lt; 0 or 1 &lt; quantity_percentage" readonly="0"/>
                        <span>
                            (<field name="product_uom_qty" class="mw-25" decoration-danger="quantity_percentage &lt; 0 or 1 &lt; quantity_percentage"/>
                            <field name="product_uom" class="w-auto text-end" groups="uom.group_uom" options="{'no_open': True}"/>
                            <span>)</span>
                        </span>
                    </div>
                </group>
            </xpath>
            <xpath expr="//button[@name='454']" position="before">
                <button name="action_view_sale_order" type="object" class="oe_stat_button" icon="fa-dollar" invisible="not sale_line_id">
                    <div class="o_stat_info">
                        <span class="o_stat_text">Sales Order</span>
                    </div>
                </button>
            </xpath>
        </data>