class Chantier(osv.Model):
_name = "cmmi.axes.chantier"
- _inherit = "projet.axes.mesurable"
+ _inherit = "cmmi.axes.mesurable"
_columns = {
- "projet_id": fields.many2one("projet.projet",
+ "projet_id": fields.many2one("cmmi.projet",
string="Projet",
required=True),
- "evolutions": fields.one2many("projet.evolution",
+ "evolutions": fields.one2many("cmmi.evolution",
"chantier_id",
string="Evolutions"),
}
class Palier(osv.Model):
_name = "cmmi.axes.palier"
- _inherit = "projet.axes.mesurable"
+ _inherit = "cmmi.axes.mesurable"
_types_palier = [("normal", "Normal"), ("exceptionnel", "Exceptionnel"),
("correctif", "Correctif"), ("autre", "Autre")]
_columns = {
"type_palier": fields.selection(_types_palier, string="Type"),
- "projet_id": fields.many2one("projet.projet",
+ "projet_id": fields.many2one("cmmi.projet",
string="Projet",
required=True),
- "evolutions": fields.one2many("projet.evolution",
+ "evolutions": fields.one2many("cmmi.evolution",
"palier_id",
string="Evolutions"),
- "phases": fields.one2many("projet.phase",
+ "phases": fields.one2many("cmmi.phase",
"palier_id",
string="Phases"),
}