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