Wizard pour l'ajout d'évolutions à un projet : Done.
[OpenERP/cmmi.git] / views / projet.xml
index a896669..4040ff7 100644 (file)
                         <field name="name" nolabel="1" />
                         <notebook colspan="4">
                             <page string="Projet">
-                                <label for="description" />
-                                <field name="description" nolabel="1" />
-                                <label for="moe_id" />
-                                <field name="moe_id" nolabel="1" widget="char" />
-                                <label for="moa_id" />
-                                <field name="moa_id" nolabel="1" widget="char" />
-                                <label for="main_domain" />
-                                <field name="main_domain" nolabel="1" widget="char" />
+                                <group>
+                                    <field name="description" />
+                                    <field name="moe_id" widget="char" />
+                                    <field name="moa_id" widget="char" />
+                                    <field name="main_domain" widget="char" />
+                                    <field name="use_chantier" class="oe_inline"/>
+                                    <field name="use_palier" class="oe_inline"/>
+                                </group>
                             </page>
                             <page string="Modules">
                                 <field name="modules">
                                 </field>
                             </page>
                             <page string="Evolutions">
+                            <button type="action" target="new" name="%(wizard_add_evolution)d" string="Ajouter une évolution" class="oe_highlight" context="{'project_id': id}" />
                                 <field name="evolutions">
                                     <tree>
                                         <field name="name"/>