Correction du bug avec les wizards
[OpenERP/cmmi.git] / views / projet.xml
index bd1199a..c5ced1a 100644 (file)
@@ -24,7 +24,7 @@
                             </page>
                             <page string="MO">
                                 <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}" />
+                                <button type="action" target="new" name="%(wizard_add_moe_to_project)d" string="Add a MOE" class="oe_highlight" context="{'project_id': id}" />
                                 <field name="moe_ids">
                                     <tree create="false" delete="true" editable="true">
                                         <field name="project_id" invisible="1" />
@@ -34,7 +34,7 @@
                                     </tree>
                                 </field>
                                 <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}" />
+                                <button type="action" target="new" name="%(wizard_add_moa_to_project)d" string="Add a MOA" class="oe_highlight" context="{'project_id': id}" />
                                 <field name="moa_ids">
                                     <tree create="false" delete="true" editable="true">
                                         <field name="project_id" invisible="1" />
@@ -55,7 +55,7 @@
                                 </field>
                             </page>
                             <page string="Domaines">
-                                <button type="action" target="new" name="cmmi.wizard_add_domain_to_project" string="Add a domain" class="oe_highlight" context="{'project_id': id}" />
+                                <button type="action" target="new" name="%(wizard_add_domain_to_project)d" string="Add a domain" class="oe_highlight" context="{'project_id': id}" />
                                 <field name="domains">
                                     <tree create="false" delete="true" editable="true">
                                         <field name="project_id" invisible="1" />