from netforce.model import Model, fields class FileColumn(Model): _name="clinic.file.column" _string="File Column" _fields={ 'name': fields.Char("Name"), 'index': fields.Integer("Index"), 'je_id': fields.Many2One("clinic.je","Journal Entry"), } FileColumn.register()