diff options
| author | qsm-odoo <qsm@odoo.com> | 2019-03-04 13:06:09 +0100 |
|---|---|---|
| committer | qsm-odoo <qsm@odoo.com> | 2019-03-04 17:05:01 +0100 |
| commit | fdb9f8273be62d0a6d8051f7ca0a66cdf22ae5e7 (patch) | |
| tree | 51c318301c3825526ed339e34d52bb2e0a03b30c /addons/l10n_jp/data/account_chart_template_data.xml | |
| parent | 232da9a0ecee1325b2a20d9655461286741ebbee (diff) | |
[FIX] web_editor: stop using translated versions in HTML editor
Since https://github.com/odoo/odoo/commit/5a030db3eb77b6d80187f8ae1a64303b2f50391d
the HTML editor displayed the translated versions of the templates it
allows to customize. So if the user edited and saved such a template,
the non-translated version was saved with translated-version content.
The behavior before the mentioned commit was:
1) Load all views the HTML editor allows to edit
2) Each time a view is displayed, re-make a RPC to load the view again
The mentioned commit made this simpler by making:
1) Load all views the HTML editor allows to edit
2) Each time a view is displayed, simply show the previously loaded view
... the problem was that the step (2) of the old behavior was
explicitly saying (client-side) to load the view's untranslated content.
This commit makes step (1) always load the untranslated versions of the
views (server-side).
Diffstat (limited to 'addons/l10n_jp/data/account_chart_template_data.xml')
0 files changed, 0 insertions, 0 deletions
