diff options
| author | Nicolas Lempereur <nle@odoo.com> | 2017-06-29 15:43:00 +0200 |
|---|---|---|
| committer | Nicolas Lempereur <nle@odoo.com> | 2017-06-30 13:11:51 +0200 |
| commit | 2955bf2651d4f799bcd1248afbf8520262f78668 (patch) | |
| tree | 5274cfe15a63fc16f0b6e3c78706fa5b901b0c9c /addons/web/static/src/js/views/basic/basic_model.js | |
| parent | c61ae3a3ed65b7a40b470076c5dbbd881e791f78 (diff) | |
[FIX] web_editor: translation and no default en_US
Before 036ccbef when writing on qweb field with default language mi_SC:
- writing in mi_SC: wrote on the current res.user language (wrong)
- writing in en_US: wrote on en_US translation (right)
- writing in de_DE: wrote on de_DE translation (right)
but after 036ccbef:
- writing in mi_SC: wrote on mi_SC (right)
- writing in en_US: wrote on mi_SC (wrong)
- writing in de_DE: wrote on mi_SC (wrong)
With this commit, this drawback is also solved by keeping the lang in
context if present.
opw-746776
closes #17917
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_model.js')
0 files changed, 0 insertions, 0 deletions
