Travail préparatoire sur Kanban Questions et Thèmes (tests)
authorAlicia FLOREZ <alicflorez@gmail.com>
Tue, 16 Apr 2013 15:58:35 +0000 (17:58 +0200)
committerAlicia FLOREZ <alicflorez@gmail.com>
Tue, 16 Apr 2013 15:58:35 +0000 (17:58 +0200)
projet.py

index bab8672..ed13c5e 100644 (file)
--- a/projet.py
+++ b/projet.py
@@ -73,7 +73,7 @@ class Structure(osv.Model):
         "projets": fields.many2many("projet.projet",
                                     "projet_projet_structure_rel",
                                     "structures",
-                                    string="Projets (structure)"),
+                                    string="Projets"),
     }
 
 
@@ -84,7 +84,7 @@ class Module(osv.Model):
         "name": fields.char(string="Title", size=64, required=True),
         "description": fields.text(string="Description"),
         "projet_id": fields.many2one("projet.projet",
-                                     string="Projet (module)",
+                                     string="Projet",
                                      required=True),
         "evolutions": fields.one2many("projet.evolution",
                                       "module_id",
@@ -165,7 +165,7 @@ class qqch(osv.Model):
         ),
         (
             "date_plan_deb_before_date_plan_fin",
-            "CHECK(date_plan_deb<> date_plan_fin)",
+            "CHECK(date_plan_deb <> date_plan_fin)",
             "The date_plan_deb should be previous date_plan_fin",
         ),
         (
@@ -231,7 +231,9 @@ class Charge(osv.Model):
 class mo(osv.Model):
     _name = "projet.mo"
 
-    _choses = [("primaire", "Primaire"), ("secondaire", "Secondaire"), ("generique", "Générique")]
+    _choses = [("primaire", "Primaire"),
+               ("secondaire", "Secondaire"),
+               ("generique", "Générique")]
 
     _columns = {
         "name": fields.char(string="Title"),