Skip to content

Translate the name in DiscoveryChannelService

CHANGELOG:

### Feature
- [#500](https://gitlab.com/coopdevs/odoo-somconnexio/-/merge_requests/500) Returns translated values in the DiscoveryChannel API

The discovery channels are string that need to be translated. Using the base_rest methodology, we use the Accept-Language header to return the values translated. More info in the base_rest method:

https://github.com/OCA/rest-framework/blob/12.0/base_rest/http.py#L133

Edited by Pelayo García

Merge request reports