from odoo import models, fields, api SELECT_OPTIONS = [ ("normal", "Undefined"), ("done", "Selected"), ("blocked", "Not selected"), ] class SurveyUserInput(models.Model): _inherit = "survey.user_input" answer_selection = fields.Boolean( related="survey_id.answer_selection", store=True, ) select = fields.Selection( SELECT_OPTIONS, string="Selection", copy=False, default="normal", required=True, )