<?xml version="1.0"?>
<data><page name="sales" position="attributes">
                <attribute name="invisible" remove="1" separator="or"/>
            </page>
            <field name="product_variant_count" position="after">
                <field name="service_type" widget="radio" invisible="True"/>
                <field name="visible_expense_policy" invisible="1"/>
            </field>
            <field name="type" position="after">
                <field name="invoice_policy" required="1" invisible="not sale_ok or type == 'combo'"/>
            </field>
            <field name="service_tracking" position="attributes">
                <attribute name="invisible" add="not sale_ok" separator="or"/>
            </field>
            <group name="description" position="after">
                <t groups="sales_team.group_sale_salesman">
                    <group string="Warning when Selling this Product" groups="sale.group_warning_sale">
                        <field name="sale_line_warn" string="Warning"/>
                        <field name="sale_line_warn_msg" string="Message" placeholder="Type a message..." invisible="sale_line_warn == 'no-message'" required="sale_line_warn != 'no-message'"/>
                    </group>
                </t>
                <group name="expense_info" string="Expense" invisible="not visible_expense_policy">
                    <field name="expense_policy" widget="radio"/>
                </group>
            </group>
        </data>