summaryrefslogtreecommitdiff
path: root/addons/website/static/src/xml/website.backend.xml
diff options
context:
space:
mode:
authorJeremy Kersten <jke@odoo.com>2017-09-27 20:26:25 +0200
committerJeremy Kersten <jke@odoo.com>2017-09-27 21:33:50 +0200
commit953a693df1284f2292237e3479a210ba28e6f9bf (patch)
tree66e42a5210da0bccda2f4c8702bab6d0c2e7aea2 /addons/website/static/src/xml/website.backend.xml
parent257595011d3fc9092d14dbd36d767f7b42ba86f6 (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/website/static/src/xml/website.backend.xml')
0 files changed, 0 insertions, 0 deletions