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