'Return a function mapping a ir_translation row (dict) to a value.
This method is called before querying the database for translations.'

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

    return (lambda data: data['value'])
