[FIX] restore request.website_multilang for templates

This commit is contained in:
Fabien Meghazi
2014-05-13 12:07:20 +02:00
parent 8eed143112
commit c73a2f1c57
+2
View File
@@ -51,6 +51,8 @@ class ir_http(orm.AbstractModel):
# in all cases, website processes them
request.website_enabled = True
request.website_multilang = request.website_enabled and func.routing.get('multilang', True)
if request.website_enabled:
if func:
self._authenticate(func.routing['auth'])