diff options
| author | Martin Trigaux <mat@odoo.com> | 2018-04-24 10:00:51 +0000 |
|---|---|---|
| committer | Martin Trigaux <mat@odoo.com> | 2018-09-04 08:22:15 +0000 |
| commit | d65969d5727009a9c664cb81da43426f8ab7490d (patch) | |
| tree | 5c06b53dc8e35166473877a51c4c5de69465d3da /doc/reference/javascript_reference.rst | |
| parent | 5a53e5b8e9aed48d579471fd64ca6d7eb378bb73 (diff) | |
[IMP] base: do not set a value for new translations
When generating new translations (e.g. 'edit translations' button on a view or
on a translatable field), the new generated translations have the source as
translation value.
Set the state to 'to_translate' as it is the default value
This change requires to add a fallback in web_editor when computing translated
dom
When a translation has no value, there is a fallback done in the different
translation method (e.g. xml_translate) but, as the node was manually created
in edit_translation_mapping, the fallback was missing
closes odoo/odoo#24391
Diffstat (limited to 'doc/reference/javascript_reference.rst')
0 files changed, 0 insertions, 0 deletions
