[FIX] document_page: pages content should be edited using HTML/WYSIWYG widget
authorOlivier Dony <odo@openerp.com>
Tue, 8 Jan 2013 10:54:10 +0000 (11:54 +0100)
committerOlivier Dony <odo@openerp.com>
Tue, 8 Jan 2013 10:54:10 +0000 (11:54 +0100)
bzr revid: odo@openerp.com-20130108105410-tjagkt0anx45my31

addons/document_page/document_page_view.xml

index d8daaad..08c7764 100644 (file)
@@ -53,7 +53,7 @@
                         <label for="content" string="Template"/>
                         that will be used as a content template for all new page of this category.
                     </div>
-                    <field name="content" placeholder="e.g. Once upon a time..." class="oe_edit_only"/>
+                    <field name="content" placeholder="e.g. Once upon a time..." class="oe_edit_only" widget="html"/>
                     <div class="oe_document_page">
                         <field name="display_content" widget="html" class="oe_view_only" options='{"safe": True}'/>
                     </div>