'Return the terms and translations of a given `field` on `records`.
:return: {record_id: {source: value}}'

@api.model
def _get_terms_translations(self, field, records):

    result = {rid: {} for rid in records.ids}
    if records:
        map_trans = self._get_terms_mapping(field, records)
        (query, params) = self._get_terms_query(field, records)
        self._cr.execute(query, params)
        for data in self._cr.dictfetchall():
            result[data['res_id']][data['src']] = map_trans(data)
    return result
