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:
35efb5b
)
[FIX] properly set website_multilang attribute
author
Fabien Meghazi
<fme@openerp.com>
Mon, 19 May 2014 10:33:47 +0000
(12:33 +0200)
committer
Fabien Meghazi
<fme@openerp.com>
Mon, 19 May 2014 10:33:47 +0000
(12:33 +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
76f6764
..
3d9ad74
100644
(file)
--- a/
addons/website/models/ir_http.py
+++ b/
addons/website/models/ir_http.py
@@
-51,7
+51,7
@@
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)
+ request.website_multilang = request.website_enabled and func and func.routing.get('multilang', True)
if request.website_enabled:
if func: