projet.phase : rajout d'une FK vers projet.type_phase
authorAlicia FLOREZ <alicflorez@gmail.com>
Mon, 22 Apr 2013 07:57:40 +0000 (09:57 +0200)
committerAlicia FLOREZ <alicflorez@gmail.com>
Mon, 22 Apr 2013 07:57:40 +0000 (09:57 +0200)
projet.py

index c97665d..fc1945c 100644 (file)
--- a/projet.py
+++ b/projet.py
@@ -183,6 +183,7 @@ class Phase(osv.Model):
         "name": fields.char(string="Title", size=64, required=True),
         "description": fields.text(string="Description"),
         "statut": fields.selection(_statuts, string="Statut"),
+        "type_phase_id": fields.many2one("projet.type_phase", string="Type phase"),
         "projet_id": fields.many2one("projet.projet",
                                      string="Projet",
                                      required=True),