from netforce.model import Model,fields class Document(Model): _inherit="document" _fields={ 'name': fields.Char("Name",search=True), } Document.register()