<?xml version="1.0"?>
<form string="Sales Order Item" edit="false">
                <field name="display_type" invisible="1"/>
                <sheet>
                    <div class="oe_title">
                        <h1>
                            <field name="display_name"/>
                        </h1>
                    </div>
                    <group>
                        <group>
                            <field name="order_id" readonly="1" force_save="1"/>
                            <field name="product_id" readonly="id and not product_updatable" required="not display_type" force_save="1" widget="many2one_barcode"/>
                            <field name="name"/>
                            <field name="product_uom_qty"/>
                            <field name="qty_delivered" invisible="state not in ['sale', 'done']" readonly="qty_delivered_method != 'manual'"/>
                            <field name="qty_invoiced" invisible="state not in ['sale', 'done']"/>
                            <field name="product_uom_id" force_save="1" groups="uom.group_uom" widget="many2one_uom" readonly="product_uom_readonly" required="not display_type"/>
                            <field name="company_id" options="{'no_create': True}" groups="base.group_multi_company"/>
                            <field name="order_partner_id" invisible="1"/>
                        </group>
                        <group>
                            <field name="price_unit"/>
                            <field name="technical_price_unit" invisible="1"/>
                            <field name="discount" groups="sale.group_discount_per_so_line"/>
                            <field name="price_subtotal" string="Amount" widget="monetary" invisible="company_price_include == 'tax_included'"/>
                            <field name="price_total" string="Amount" widget="monetary" invisible="company_price_include == 'tax_excluded'"/>
                            <field name="tax_ids" widget="many2many_tax_tags" options="{'no_create': True}" context="{'search_view_ref': 'account.account_tax_view_search'}" domain="[('type_tax_use', '=', 'sale'), ('company_id', '=', company_id), ('country_id', '=', tax_country_id)]" readonly="qty_invoiced &gt; 0"/>
                            <field name="price_tax" widget="monetary"/>
                            <field name="currency_id" invisible="1"/>
                        </group>
                    </group>
                </sheet>
            </form>
        