Utilisation du widget many2many_tags pour l'affichage des topics des containers ... master
authorAlicia FLOREZ <alicflorez@gmail.com>
Thu, 6 Jun 2013 14:43:19 +0000 (16:43 +0200)
committerAlicia FLOREZ <alicflorez@gmail.com>
Thu, 6 Jun 2013 14:43:19 +0000 (16:43 +0200)
views/todolist.xml

index c4500d3..d9e8638 100644 (file)
                         <field name="state" widget="statusbar" />
                     </header>
                     <sheet>
-                        <group colspan="4" col="3">
-                            <label for="name" colspan="1" />
-                            <field name="name" colspan="2" nolabel="1" />
-                            <label for="description" colspan="1" />
-                            <field name="description" colspan="2" nolabel="1" />
-                            <label for="number_tasks" colspan="1" />
-                            <field name="number_tasks" colspan="2" nolabel="1" />
-                            <label for="number_tasks_done" colspan="1" />
-                            <field name="number_tasks_done" colspan="2" nolabel="1" />
-                            <field name="progress_tasks" colspan="3" widget="progressbar" />
-                        </group>
+                            <label for="name" class="oe_edit_only"/>
+                            <h1><field name="name" nolabel="1" /></h1>
+                            <field name="topic_ids" widget="many2many_tags" nolabel="1"/>
+                            <label for="description" />
+                            <field name="description" nolabel="1" />
+                            <p><label for="number_tasks" class="oe_inline"/>
+                            <field name="number_tasks" nolabel="1" class="oe_inline"/></p>
+                            <label for="number_tasks_done" class="oe_inline"/>
+                            <field name="number_tasks_done" nolabel="1" class="oe_inline"/>
+                            <field name="progress_tasks" widget="progressbar" />
                         <notebook colspan="4">
                             <page string="Dates">
                                 <group colspan="4" col="1">
                                     </field>
                                 </group>
                             </page>
-                            <page string="Topics">
-                                <group colspan="4" col="1">
-                                    <field name="topic_ids"/>
-                                </group>
-                            </page>
                         </notebook>
                     </sheet>
                     <div class="oe_chatter">