Modification vue wizard
authorAlicia FLOREZ <alicflorez@gmail.com>
Wed, 12 Jun 2013 14:02:31 +0000 (16:02 +0200)
committerAlicia FLOREZ <alicflorez@gmail.com>
Wed, 12 Jun 2013 14:02:31 +0000 (16:02 +0200)
views/wizards/evolution.xml
wizards/evolution.py

index 2681819..174cf65 100644 (file)
           <field name="projet_id" readonly="1" />
           <field name="palier_id" />
           <field name="chantier_id" />
+          <field name="description" />
+          <field name="keywords" />
+          <field name="objectif" />
+          <field name="commentaire" />
           <button type="object" name="action_add_evolution" string="Add Evolution to Project"/>
         </form>
       </field>
index 65a3d85..b901461 100644 (file)
@@ -85,6 +85,9 @@ class EvolutionWizard(osv.TransientModel):
             uid,
             {
                 "name": res["name"],
+                "description": res["description"],
+                "objectif": res["objectif"],
+                "commentaire": res["commentaire"],
                 "palier_id": res["palier_id"],
                 "chantier_id": res["chantier_id"],
                 "projet_id": res["projet_id"][0],
@@ -96,7 +99,12 @@ class EvolutionWizard(osv.TransientModel):
 
 
     _columns = {
+        "pid": fields.integer(string="PID"),
         "name": fields.char(string="Title", size=64, required=True),
+        "description": fields.text(string="Description"),
+        "objectif": fields.text(string="Objectif"),
+        "commentaire": fields.text(string="Commentaire"),
+        "keywords": fields.text(string="Mots clés"),
         "projet_id": fields.many2one("cmmi.projet",
                                      string="Projet",
                                      required=True),