projects
/
OpenERP
/
cmmi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Projet - Rajout de valeurs par défaut pour 'use_chantier' et 'use_palier'
[OpenERP/cmmi.git]
/
projet.py
diff --git
a/projet.py
b/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)