_columns = {
"name": fields.char(string="Title", size=64, required=True),
"description": fields.text(string="Description"),
+ "charges": fields.one2many("projet.charge",
+ "evolution_id",
+ string="Charges"),
}
"projets": fields.many2many("projet.projet",
"projet_projet_structure_rel",
"structures",
- string="Projets (structure)")
+ string="Projets (structure)"),
}
required=True),
"charges": fields.one2many("projet.charge",
"phase_id",
- string="Charges")
+ string="Charges"),
}
#TODO trouver un nom a cette chose
"phase_id": fields.many2one("projet.phase",
string="Phase",
required=True),
+ "evolution_id": fields.many2one("projet.evolution",
+ string="Evolution",
+ required=True),
}
class mo(osv.Model):