'return the record corresponding to the given ``xml_id``'

def ref(self, xml_id, raise_if_not_found=True):

    return self['ir.model.data'].xmlid_to_object(xml_id, raise_if_not_found=raise_if_not_found)
