'Read the property field `name` for the records of model `model` with
the given `ids`, and return a dictionary mapping `ids` to their
corresponding value.'

@api.model
def get_multi(self, name, model, ids):

    if (not ids):
        return {}
    domain = self._get_domain(name, model)
    if (domain is None):
        return dict.fromkeys(ids, False)
    refs = {('%s,%s' % (model, id)): id for id in ids}
    refs[False] = False
    domain += [('res_id', 'in', list(refs))]
    props = self.search(domain, order='company_id    asc')
    result = {}
    for prop in props:
        id = refs.pop(prop.res_id, None)
        if (id is not None):
            result[id] = prop.get_by_record()
    default_value = result.pop(False, False)
    for id in ids:
        result.setdefault(id, default_value)
    return result
