<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>
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],
_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),