Projet - Rajout de valeurs par défaut pour 'use_chantier' et 'use_palier'
[OpenERP/cmmi.git] / projet.py
index 8bfce87..6fd936e 100644 (file)
--- 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)