@classmethod
def search_global(cls, text):
    """
        Yield tuples (record, name, icon) for text
        """
    for record in cls.search([('rec_name', 'ilike', '%%%s%%' % text)]):
        yield record, record.rec_name, None
