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:
5c1eb9a
)
Ajout relation evolution/phase
author
Alicia FLOREZ
<alicflorez@gmail.com>
Fri, 12 Apr 2013 08:45:53 +0000
(10:45 +0200)
committer
Alicia FLOREZ
<alicflorez@gmail.com>
Fri, 12 Apr 2013 08:45:53 +0000
(10:45 +0200)
projet.py
patch
|
blob
|
history
diff --git
a/projet.py
b/projet.py
index
5180697
..
544e1a0
100644
(file)
--- a/
projet.py
+++ b/
projet.py
@@
-54,6
+54,8
@@
class Evolution(osv.Model):
string="Chantier"),
"palier_id": fields.many2one("projet.palier",
string="Palier"),
+ "phase_id": fields.many2one("projet.phase",
+ string="Phase"),
}
@@
-127,6
+129,9
@@
class Phase(osv.Model):
"charges": fields.one2many("projet.charge",
"phase_id",
string="Charges"),
+ "evolutions": fields.one2many("projet.evolution",
+ "phase_id",
+ string="Evolutions"),
}
#TODO trouver un nom a cette chose