Sélectionner une révision Git
adefpat_project_justif_zip_wizard.py
training_program.py 773 o
# Copyright 2019-2022 Le Filament (<https://le-filament.com>)
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
from odoo import fields, models
class TrainingProgram(models.Model):
_inherit = "training.program"
registration_survey_id = fields.Many2one(
comodel_name="survey.survey",
string="Inscription/Positionnement",
ondelete="restrict",
)
aeci_survey_id = fields.Many2one(
comodel_name="survey.survey", string="AECI", ondelete="restrict"
)
aect_survey_id = fields.Many2one(
comodel_name="survey.survey", string="AECT", ondelete="restrict"
)
# ------------------------------------------------------
# Compute
# ------------------------------------------------------