Champs charge réelle dans evolution - fin
authorAlicia FLOREZ <alicflorez@gmail.com>
Fri, 14 Jun 2013 09:43:45 +0000 (11:43 +0200)
committerAlicia FLOREZ <alicflorez@gmail.com>
Fri, 14 Jun 2013 09:43:45 +0000 (11:43 +0200)
evolution.py

index e1ef33a..13917c3 100644 (file)
@@ -75,6 +75,9 @@ class Evolution(osv.Model):
         "charge_plan": fields.function(_get_charge_plan,
                                        type="integer",
                                        string="Charge plannifiée"),
+        "charge_reel": fields.function(_get_charge_reel,
+                                       type="integer",
+                                       string="Charge réelle"),
     }
 
     _defaults = {