projects
/
OpenERP
/
cmmi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
4d9c8c8
)
Ajout relation palier/phase
author
Alicia FLOREZ
<alicflorez@gmail.com>
Fri, 12 Apr 2013 08:49:36 +0000
(10:49 +0200)
committer
Alicia FLOREZ
<alicflorez@gmail.com>
Fri, 12 Apr 2013 08:49:36 +0000
(10:49 +0200)
projet.py
patch
|
blob
|
history
diff --git
a/projet.py
b/projet.py
index
544e1a0
..
7dd301c
100644
(file)
--- a/
projet.py
+++ b/
projet.py
@@
-132,6
+132,8
@@
class Phase(osv.Model):
"evolutions": fields.one2many("projet.evolution",
"phase_id",
string="Evolutions"),
+ "palier_id": fields.many2one("projet.palier",
+ string="Palier"),
}
#TODO trouver un nom a cette chose
@@
-196,6
+198,9
@@
class Palier(osv.Model):
"evolutions": fields.one2many("projet.evolution",
"palier_id",
string="Evolutions"),
+ "phases": fields.one2many("projet.phase",
+ "palier_id",
+ string="Phases"),
}