diff options
| author | Jeremy Kersten <jke@odoo.com> | 2017-09-27 20:26:25 +0200 |
|---|---|---|
| committer | Jeremy Kersten <jke@odoo.com> | 2017-09-27 21:33:50 +0200 |
| commit | 953a693df1284f2292237e3479a210ba28e6f9bf (patch) | |
| tree | 66e42a5210da0bccda2f4c8702bab6d0c2e7aea2 /addons/web/static/src/js/fields | |
| parent | 257595011d3fc9092d14dbd36d767f7b42ba86f6 (diff) | |
[FIX] website, http_routing: fix translate on website.page
Before this commit:
website.page won't be rendered as translated items since it is not going though
a controller (route) enabling multilang. Website.page were not considered as
multilang items and no lang prefix were applied on link.
Now:
website.page will correcly handling translation.
In case of one route doesn't match a controller, it is now by default a route of
type multilang.
Add a new field auto_redirect_lang on website model to allow to deactive the
autoredirect of the lang optionnaly. The code will arrive after more tests.
Diffstat (limited to 'addons/web/static/src/js/fields')
0 files changed, 0 insertions, 0 deletions
