diff options
| author | Denis Ledoux <dle@odoo.com> | 2015-11-16 16:33:31 +0100 |
|---|---|---|
| committer | Denis Ledoux <dle@odoo.com> | 2015-11-16 16:38:54 +0100 |
| commit | c2a6aeb244bd08fa5c03191f7e5b5922d6ce81a2 (patch) | |
| tree | fccd2f60b087a5c9e829e3cefdc4a0af270f121e /addons/mail/static/src/xml | |
| parent | 3c2e48423b4f9706216cada549d0a725f2dd07d2 (diff) | |
[FIX] mail: internal subtypes with special characters
The fields options in the form are evaluated with
a `py_eval`, see:
https://github.com/odoo/odoo/blob/3c2e48423b4f9706216cada549d0a725f2dd07d2/addons/web/static/src/js/views/form_common.js#L664,
not as a JSON.
This was changed in October 2012, with rev.
c538db258abdcaa25ff1442c9b4cd3f2bbdb9935
Therefore, the field options must not be passed as a JSON, but
as a Python dict.
This had as side-effect to uncorrectly load the internal
subtypes for the "log a note" feature. For instance,
French translations with accents were displayed incorrectly.
opw-656409
Diffstat (limited to 'addons/mail/static/src/xml')
0 files changed, 0 insertions, 0 deletions
