from odoo import models, fields class EncoachWalkthrough(models.Model): _name = "encoach.walkthrough" _description = "EnCoach Walkthrough" name = fields.Char() sequence = fields.Integer(default=10) content = fields.Json() module = fields.Selection( [ ("reading", "Reading"), ("listening", "Listening"), ("writing", "Writing"), ("speaking", "Speaking"), ("level", "Level"), ], string="Module", )