<openerp>
    <data>
        <record id="view_task_form_with_pad" model="ir.ui.view">
            <field name="name">project.task.form.pad</field>
            <field name="model">project.task</field>
            <field name="inherit_id" ref="project.view_task_form2"/>
            <field name="arch" type="xml">
                <field name="description" position="replace">
                    <field name="description_pad" attrs="{'readonly':[('state','=','done')]}" widget="pad"/>
                </field>
            </field>
        </record>
    </data>
</openerp>
