from odoo import models, fields, _ TYPES = [ ('free_text', _('Multiple Lines Text Box')), ('textbox', _('Single Line Text Box')), ('numerical_box', _('Numerical Value')), ('dropdown', _('Dropdown')), ('checkbox', _('Checkbox')), ] class SurveyLabel(models.Model): _inherit = 'survey.label' type = fields.Selection(selection=TYPES, string='Type of Question', default="checkbox") dpvalues = fields.Many2many(comodel_name='survey.label.value', string="values")