From 3891203ecff9b5fc053bb93a2dcfc34fe9c088d4 Mon Sep 17 00:00:00 2001 From: Alicia FLOREZ Date: Tue, 4 Jun 2013 17:51:13 +0200 Subject: [PATCH] =?utf8?q?Projet=20-=20Rajout=20de=20valeurs=20par=20d=C3=A9?= =?utf8?q?faut=20pour=20'use=5Fchantier'=20et=20'use=5Fpalier'?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- projet.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/projet.py b/projet.py index 8bfce87..6fd936e 100644 --- a/projet.py +++ b/projet.py @@ -130,6 +130,11 @@ class Projet(osv.Model): string="Phases sélectionnées"), } + _defaults = { + "use_chantier": True, + "use_palier": True, + } + def create(self, cr, uid, vals, context=None): project_id = osv.Model.create(self, cr, uid, vals, context=context) -- 1.7.10.4