Correction sur les boutons MOA et MOE
authorSébastien CHAZALLET <s.chazallet@gmail.com>
Thu, 23 May 2013 13:09:29 +0000 (15:09 +0200)
committerSébastien CHAZALLET <s.chazallet@gmail.com>
Thu, 23 May 2013 13:09:29 +0000 (15:09 +0200)
views/projet.xml

index 892c107..d4af94d 100644 (file)
@@ -23,8 +23,8 @@
                                 <field name="main_domain" nolabel="1" widget="selection" />
                             </page>
                             <page string="MO">
-                                <p>MOE</p><!--
-                                <button type="object" target="new" name="cmmi.wizard_add_moe_to_project" string="Add a MOE" class="oe_highlight" context="{'project_id': id}" />-->
+                                <p>MOE</p>
+                                <button type="action" target="new" name="cmmi.wizard_add_moe_to_project" string="Add a MOE" class="oe_highlight" context="{'project_id': id}" />
                                 <field name="structures_moe">
                                     <tree>
                                         <field name="name" />
@@ -32,8 +32,8 @@
                                         <field name="role_mo_id" />
                                     </tree>
                                 </field>
-                                <p>MOA</p><!--
-                                <button type="object" target="new" name="cmmi.wizard_add_moa_to_project" string="Add a MOA" class="oe_highlight" context="{'project_id': id}" />-->
+                                <p>MOA</p>
+                                <button type="action" target="new" name="cmmi.wizard_add_moa_to_project" string="Add a MOA" class="oe_highlight" context="{'project_id': id}" />
                                 <field name="structures_moe">
                                     <tree>
                                         <field name="name" />