diff options
| author | Nicolas Lempereur <nle@odoo.com> | 2020-08-05 08:51:54 +0000 |
|---|---|---|
| committer | Nicolas Lempereur <nle@odoo.com> | 2020-08-05 11:13:09 +0000 |
| commit | 2b4981ec1f2eb50b374fe0dd2e9b2562ae1557f6 (patch) | |
| tree | d31284aa15d09c427b0983704d3f2df07a2ab490 /addons/mail/static/src/models/thread_cache/thread_cache.js | |
| parent | c69f2c9a3de21b09e7bad7dbb655117b1cf365cc (diff) | |
[FIX] website_profile: _prepare_user_value edit tl ok
In courses home page, we use _prepare_user_value to get values from
search strings as render values.
But for example this cause an issue in case of edit_translations, it
has no value but if present is set to `{'edit_translations': True}` in
context.
But _prepare_user_value will set it to context as:
{'edit_translations': ''}
Which make translation not work on page that used
`_prepare_user_value(kw)` to get values for rendering.
opw-2305816
closes #55444
closes odoo/odoo#55457
X-original-commit: 11c5daae47b50c26ceebe8feb736352b7a27a85b
Signed-off-by: Nicolas Lempereur (nle) <nle@odoo.com>
Diffstat (limited to 'addons/mail/static/src/models/thread_cache/thread_cache.js')
0 files changed, 0 insertions, 0 deletions
