Champs des wizards maintenant obligatoires
[OpenERP/cmmi.git] / wizards / moe.py
index 1509b1c..37399bc 100644 (file)
@@ -108,7 +108,9 @@ class ProjetMoeWizard(osv.TransientModel):
     _columns = {
         "main": fields.boolean(string="MOE principale ?"),
         "project_id": fields.many2one("cmmi.projet",
-                                      string="Projet"),
+                                      string="Projet",
+                                      required=True),
         "moe_id": fields.selection(_moes_selection,
-                                      string="MOE"),
+                                   string="MOE",
+                                   required=True),
     }
\ No newline at end of file