projet.structure : rajout d'une FK vers projet.role_mo
authorAlicia FLOREZ <alicflorez@gmail.com>
Mon, 22 Apr 2013 07:54:31 +0000 (09:54 +0200)
committerAlicia FLOREZ <alicflorez@gmail.com>
Mon, 22 Apr 2013 07:54:31 +0000 (09:54 +0200)
projet.py

index 5374861..c97665d 100644 (file)
--- a/projet.py
+++ b/projet.py
@@ -90,6 +90,7 @@ class Structure(osv.Model):
         "description": fields.text(string="Description"),
         "parent_id": fields.many2one("projet.structure", string="Parent_id"),
         "statut": fields.selection(_statuts, string="Statut"),
+        "role_mo_id":fields.many2one("projet.role_mo", string="Role MO"),
         "projets": fields.many2many("projet.projet",
                                     "projet_projet_structure_rel",
                                     "structures",