Modification de la relation projet-phase en projet-phase.type
[OpenERP/cmmi.git] / axes.py
diff --git a/axes.py b/axes.py
index 573ca49..7989c5b 100644 (file)
--- a/axes.py
+++ b/axes.py
@@ -49,13 +49,13 @@ class Mesurable(osv.Model):
 class Chantier(osv.Model):
     _name = "cmmi.axes.chantier"
 
-    _inherit = "projet.axes.mesurable"
+    _inherit = "cmmi.axes.mesurable"
 
     _columns = {
-        "projet_id": fields.many2one("projet.projet",
+        "projet_id": fields.many2one("cmmi.projet",
                                      string="Projet",
                                      required=True),
-        "evolutions": fields.one2many("projet.evolution",
+        "evolutions": fields.one2many("cmmi.evolution",
                                       "chantier_id",
                                       string="Evolutions"),
     }
@@ -64,20 +64,20 @@ class Chantier(osv.Model):
 class Palier(osv.Model):
     _name = "cmmi.axes.palier"
 
-    _inherit = "projet.axes.mesurable"
+    _inherit = "cmmi.axes.mesurable"
 
     _types_palier = [("normal", "Normal"), ("exceptionnel", "Exceptionnel"),
                      ("correctif", "Correctif"), ("autre", "Autre")]
 
     _columns = {
         "type_palier": fields.selection(_types_palier, string="Type"),
-        "projet_id": fields.many2one("projet.projet",
+        "projet_id": fields.many2one("cmmi.projet",
                                      string="Projet",
                                      required=True),
-        "evolutions": fields.one2many("projet.evolution",
+        "evolutions": fields.one2many("cmmi.evolution",
                                       "palier_id",
                                       string="Evolutions"),
-        "phases": fields.one2many("projet.phase",
+        "phases": fields.one2many("cmmi.phase",
                                   "palier_id",
                                   string="Phases"),
     }