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:
86c21ab
)
Par défaut, les paliers sont de type 'normal'
author
Alicia FLOREZ
<alicflorez@gmail.com>
Mon, 3 Jun 2013 14:30:54 +0000
(16:30 +0200)
committer
Alicia FLOREZ
<alicflorez@gmail.com>
Mon, 3 Jun 2013 14:30:54 +0000
(16:30 +0200)
axes.py
patch
|
blob
|
history
diff --git
a/axes.py
b/axes.py
index
21fb17c
..
99f53f1
100644
(file)
--- 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)