from netforce.model import Model, fields class Cycle(Model): _name="clinic.cycle" _string="Cycle" _fields={ "name": fields.Char("Name",required=True,search=True), } Cycle.register()