View form Mesurable : déplacement du 'State' dans le header
authorAlicia FLOREZ <alicflorez@gmail.com>
Tue, 4 Jun 2013 12:29:47 +0000 (14:29 +0200)
committerAlicia FLOREZ <alicflorez@gmail.com>
Tue, 4 Jun 2013 12:29:47 +0000 (14:29 +0200)
views/palier.xml

index a8dc94d..87d457d 100644 (file)
@@ -8,13 +8,15 @@
             <field name="model">cmmi.axes.palier</field>
             <field name="arch" type="xml">
                 <form string="Formulaire palier" version="7.0">
-                    <header />
+                    <header>
+                        <button string="Commencer le palier" type="object" name="commencer" class="oe_highlight" />
+                        <field name="state"/>
+                    </header>
 
                     <sheet>
                         <group colspan="4" col="6">
-                            <field name="name"  colspan="4"/>
-                            <field name="type_palier"  colspan="2"/>
-                            <button string="Commencer le palier" type="object" name="commencer" class="oe_highlight" />
+                            <field name="name" colspan="4"/>
+                            <field name="type_palier" colspan="1"/>
 
                         </group>
                         <notebook colspan="4">
@@ -24,8 +26,6 @@
                                 <field name="description" colspan="3" nolabel="1" />
                                 <label for="commentaire" colspan="1" />
                                 <field name="commentaire" colspan="3" nolabel="1" />
-                                <label for="state" colspan="1" />
-                                <field name="state" colspan="1" nolabel="1" />
                                 <label for="version" colspan="1" />
                                 <field name="version" colspan="1" nolabel="1" />
                                 </group>