<?xml version="1.0"?>
<form string="Product Attribute" create="0" delete="0">
                <sheet>
                    <group>
                        <field name="ptav_active" readonly="1" attrs="{'invisible': [('ptav_active', '=', True)]}"/>
                        <field name="name"/>
                        <field name="display_type" invisible="1"/>
                        <field name="html_color" attrs="{'invisible': [('display_type', '!=', 'color')]}"/>
                        <field name="price_extra" widget="monetary" options="{'field_digits': True}"/>
                        <field name="currency_id" invisible="1"/>
                        <field name="exclude_for" widget="one2many" mode="tree">
                            <tree editable="bottom">
                                <field name="product_tmpl_id"/>
                                <field name="value_ids" widget="many2many_tags" options="{'no_create': True}"/>
                            </tree>
                        </field>
                    </group>
                </sheet>
            </form>
        