Par défaut, les paliers sont de type 'normal'
authorAlicia FLOREZ <alicflorez@gmail.com>
Mon, 3 Jun 2013 14:30:54 +0000 (16:30 +0200)
committerAlicia FLOREZ <alicflorez@gmail.com>
Mon, 3 Jun 2013 14:30:54 +0000 (16:30 +0200)
axes.py

diff --git a/axes.py b/axes.py
index 21fb17c..99f53f1 100644 (file)
--- a/axes.py
+++ b/axes.py
@@ -160,6 +160,10 @@ class Palier(osv.Model):
                                   string="Phases"),
     }
 
+    _defaults = {
+        "type_palier": "normal",
+    }
+
 
     def create(self, cr, uid, vals, context=None):
         palier_id = osv.Model.create(self, cr, uid, vals, context=context)