Fin de la refonte selon le nouveau schema
[OpenERP/cmmi.git] / description.py
index 96516a3..9b1dd47 100644 (file)
@@ -23,17 +23,16 @@ class Module(osv.Model):
 class Domaine(osv.Model):
     _name = "cmmi.description.domaine"
 
+    _description = "Table de reference des domaines"
+
     _statuts = [("actif", "Actif"), ("inactif", "Inactif")]
 
     _columns = {
         "name": fields.char(string="Title", size=64, required=True),
         "code": fields.char(string="Code", size=8),
         "description": fields.text(string="Description"),
-        "ordre": fields.integer(string="Ordre"),
         "parent_id": fields.many2one("cmmi.description.domaine", string="Parent_id"),
         "statut": fields.selection(_statuts, string="Statut"),
-        "projets": fields.many2many("cmmi.projet", #TODO enlever ?
-                                    string="Projets"),
     }
 
     _order = "id"