diff options
| author | Nicolas Lempereur <nle@odoo.com> | 2016-04-06 14:49:43 +0200 |
|---|---|---|
| committer | Nicolas Lempereur <nle@odoo.com> | 2016-04-06 15:31:58 +0200 |
| commit | 0c9355a8fb06719fc7ae798f1f78d1696d5e9a9c (patch) | |
| tree | 9d5cfe1d7a81b3c9b97415c63d537ae8dd5410b2 /addons/web/static/src/js/widgets/data_export.js | |
| parent | b6386a0a7e2796a8dc35ef05a9a2d4fda4a327f5 (diff) | |
[FIX] website: prefer to get exact language
request.website.get_languages returns a list of tuple in the form:
(`language code`, `language name`)
With this commit the code first check if there is a language exactly
matching, and only if failed check if there is a match on the short
form.
closes #11613
opw-672412
Diffstat (limited to 'addons/web/static/src/js/widgets/data_export.js')
0 files changed, 0 insertions, 0 deletions
