projects
/
OpenERP
/
cmmi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
efd3590
)
Projet - Rajout de valeurs par défaut pour 'use_chantier' et 'use_palier'
author
Alicia FLOREZ
<alicflorez@gmail.com>
Tue, 4 Jun 2013 15:51:13 +0000
(17:51 +0200)
committer
Alicia FLOREZ
<alicflorez@gmail.com>
Tue, 4 Jun 2013 15:51:13 +0000
(17:51 +0200)
projet.py
patch
|
blob
|
history
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)