evolution.charge : ajout de nouveaux champs date et quantité
authorAlicia FLOREZ <alicflorez@gmail.com>
Thu, 13 Jun 2013 15:18:44 +0000 (17:18 +0200)
committerAlicia FLOREZ <alicflorez@gmail.com>
Thu, 13 Jun 2013 15:18:44 +0000 (17:18 +0200)
axes.py

diff --git a/axes.py b/axes.py
index eeb2073..23437c1 100644 (file)
--- a/axes.py
+++ b/axes.py
@@ -381,6 +381,12 @@ class PalierPhase(osv.Model):
                                     string="Phase du projet"),
         "palier_id": fields.many2one("cmmi.axes.palier",
                                      string="Palier"),
+        "charge_init": fields.function(_get_charge_init,
+                                       type="integer",
+                                       string="Charge initiale"),
+        "charge_plan": fields.function(_get_charge_plan,
+                                       type="integer",
+                                       string="Charge plannifiée"),
         # backrefs
         "charges": fields.one2many("cmmi.evolution.charge",
                                    "phase_id",