[IMP] Enabling edition for html fields in form views
authorRichard Mathot (OpenERP) <rim@openerp.com>
Tue, 21 Jan 2014 11:05:06 +0000 (12:05 +0100)
committerRichard Mathot (OpenERP) <rim@openerp.com>
Tue, 21 Jan 2014 11:05:06 +0000 (12:05 +0100)
bzr revid: rim@openerp.com-20140121110506-p8zxe8ate9ny7tcx

addons/survey/views/survey_views.xml

index de1fd0f..70f019a 100644 (file)
                             <field name="auth_required" />
                             <field name="public_url" widget="url" attrs="{'invisible': [('visible_to_user', '=', False)]}"/>
                         </group>
-                        <field name="description" attrs="{'readonly': True}"/>
+                        <field name="description" />
                         <notebook>
                             <page string="Pages and questions">
                                 <field name="page_ids" mode="tree" attrs="{'readonly':[('state','=','close')]}" context="{'default_survey_id': active_id}" nolabel="1">
                                     <field name="user_input_limit" attrs="{'readonly':[('state','=','close')]}"/>
                                     <label string="completed surveys" colspan="2"/>
                                     <field name="users_can_go_back" colspan="4" />
-                                    <field name="thank_you_message" colspan="4" attrs="{'readonly': True}"/>
+                                    <field name="thank_you_message" colspan="4" />
                                     <field name="res_model" attrs="{'invisible': True}"/>
                                 </group>
                             </page>
                             <label for="title" class="oe_edit_only"/>
                             <h1><field name="title"/></h1>
                         </div>
-                        <field name="description" attrs="{'readonly': True}"/>
+                        <field name="description" />
                         <group nolabel="1">
                             <field name="question_ids" nolabel="1" mode="tree" context="{'default_page_id': active_id}">
                                 <tree>