<?xml version="1.0"?>
<field name="categ_id" position="before">
                <label for="compare_list_price" groups="website_sale.group_product_price_comparison"/>
                <div class="o_row" groups="website_sale.group_product_price_comparison">
                    <del class="oe_read_only">
                        <field name="compare_list_price" nolabel="1" widget="monetary" options="{'currency_field': 'currency_id', 'field_digits': True}"/>
                    </del>
                    <field name="compare_list_price" nolabel="1" widget="monetary" options="{'currency_field': 'currency_id', 'field_digits': True}" class="oe_edit_only"/>
                </div>
                <label for="base_unit_count" groups="website_sale.group_show_uom_price"/>
                <div name="base_unit_price" groups="website_sale.group_show_uom_price" class="d-flex flex-row">
                    <field name="base_unit_count" invisible="product_variant_count &gt; 1" style="width: 4rem;"/>
                    <field name="base_unit_id" options="{'no_open': True}" invisible="product_variant_count &gt; 1" placeholder="Specify unit" style="width: 10rem;"/>
                    <div class="d-flex flex-row" invisible="base_unit_price == 0 or product_variant_count &gt; 1">
                        (<field name="base_unit_price" class="oe_inline"/> / <field name="base_unit_name" class="oe_inline"/>)
                    </div>
                    <span class="text-muted" invisible="product_variant_count &lt;= 1">Based on variants</span>
                </div>
            </field>
        