Correction bouton d'appel du wizard
authorSébastien CHAZALLET <s.chazallet@gmail.com>
Mon, 13 May 2013 08:08:27 +0000 (10:08 +0200)
committerSébastien CHAZALLET <s.chazallet@gmail.com>
Mon, 13 May 2013 08:08:27 +0000 (10:08 +0200)
__openerp__.py
views/projet.xml

index b063cf0..e9e42d3 100644 (file)
@@ -6,10 +6,12 @@
     "category": "Tools",
     "description": """Permet de gérer des projets.""",
     "data": [
+        # Vues associées aux assistants
+        'views/wizards/domaine.xml',
         # Vues associées aux modèles
         'views/projet.xml',
-        # vues associées aux assistants
-        'views/wizards/domaine.xml',
+        # Menus
+        #TODO,
         # Données
         'datas/moe.xml',
         'datas/moa.xml',
index 4e19cf4..f4ead08 100644 (file)
@@ -53,7 +53,7 @@
                                 </field>
                             </page>
                             <page string="Domaines">
-                                <button type="action" target="new" name="%(cmmi.wizard_add_domain_to_project)d" string="Add a domain" class="oe_highlight" context="{'project_id': id}" />
+                                <button type="action" target="new" name="cmmi.wizard_add_domain_to_project" string="Add a domain" class="oe_highlight" context="{'project_id': id}" />
                                 <field name="domaines">
                                     <tree create="false" delete="true" editable="true">
                                         <field name="project_id" invisible="1" />