diff options
| author | Nicolas Lempereur <nle@odoo.com> | 2020-06-04 15:23:55 +0000 |
|---|---|---|
| committer | Nicolas Lempereur <nle@odoo.com> | 2020-06-16 06:27:19 +0000 |
| commit | 94db81d8d28c4cbc7b51ae1688c9362042ee3619 (patch) | |
| tree | 8d9881070cccc4e6a8435b0decc85fa48bc0d0ab /addons/web/static/src/xml/chart.xml | |
| parent | bd8e6edb1d3d7ad95eec6e03aa00d480228c9b61 (diff) | |
[FIX] website: load specific view translation
When a view is:
- a specific view (duplicated for a specific website)
- inherited by a new view that is translated
the inheriting view will also be duplicated, but the translation will
only be created for the generic version and not the specific ones.
With this changeset, we duplicate translation of arch_db terms of the
generic view onto matching specific views.
Without the change, added test fails with:
AssertionError: '<div>hello</div>' != '<div>hi</div>'
loading module translation copy translation from base to specific view
fixes #51579
opw-2261278
closes #52451
closes odoo/odoo#53012
X-original-commit: 989d58d26f8803b40c1411cb97b0171b05d274d7
Signed-off-by: Nicolas Lempereur (nle) <nle@odoo.com>
Diffstat (limited to 'addons/web/static/src/xml/chart.xml')
0 files changed, 0 insertions, 0 deletions
