From cc68a2ee5f3669ba144259eaf3722e86c2f23cd0 Mon Sep 17 00:00:00 2001 From: Alicia FLOREZ Date: Mon, 3 Jun 2013 16:30:54 +0200 Subject: [PATCH] =?utf8?q?Par=20d=C3=A9faut,=20les=20paliers=20sont=20de=20t?= =?utf8?q?ype=20'normal'?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- axes.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/axes.py b/axes.py index 21fb17c..99f53f1 100644 --- 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) -- 1.7.10.4