<?xml version="1.0" encoding="utf-8"?>
<odoo>
    <record id="order_form_inherit" model="ir.ui.view">
        <field name="name">sale.order.form.inherit</field>
        <field name="model">sale.order</field>
        <field name="inherit_id" ref="sale.view_order_form"/>
        <field name="arch" type="xml">
            <group name="sales_person" position="inside">
                <field name="is_avatax" invisible="1"/>
                <field name="avatax_unique_code" invisible="not is_avatax"/>
            </group>
        </field>
    </record>
</odoo>
