projects
/
odoo
/
odoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8eed143
)
[FIX] restore request.website_multilang for templates
author
Fabien Meghazi
<fme@openerp.com>
Tue, 13 May 2014 10:07:20 +0000
(12:07 +0200)
committer
Fabien Meghazi
<fme@openerp.com>
Tue, 13 May 2014 10:07:20 +0000
(12:07 +0200)
addons/website/models/ir_http.py
patch
|
blob
|
history
diff --git
a/addons/website/models/ir_http.py
b/addons/website/models/ir_http.py
index
358f105
..
4f486b7
100644
(file)
--- a/
addons/website/models/ir_http.py
+++ b/
addons/website/models/ir_http.py
@@
-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'])