Première corrections suite à la restructuration
[OpenERP/cmmi.git] / axes.py
diff --git a/axes.py b/axes.py
index aa6ccf1..9646baf 100644 (file)
--- a/axes.py
+++ b/axes.py
@@ -148,7 +148,7 @@ class Palier(osv.Model):
         "evolutions": fields.one2many("cmmi.evolution",
                                       "palier_id",
                                       string="Evolutions"),
-        "phases": fields.one2many("cmmi.projet.phase",
+        "phases": fields.one2many("cmmi.axes.palier.phase",
                                   "palier_id",
                                   string="Phases"),
     }
@@ -181,9 +181,9 @@ class Phase(osv.Model):
         "charges": fields.one2many("cmmi.evolution.charge",
                                    "phase_id",
                                    string="Charges"),
-        "evolutions": fields.one2many("cmmi.evolution",
-                                      "phase_id",
-                                      string="Evolutions"),
+#        "evolutions": fields.one2many("cmmi.evolution", #Supprimé !
+#                                      "phase_id",
+#                                      string="Evolutions"),
     }
 
     def create(self, cr, uid, vals, context=None):