[FIX] website fix image controller for xmlid

This commit is contained in:
Antony Lesuisse
2014-12-18 23:44:06 +01:00
parent 8d94b01388
commit 74d48e2f17
+1 -1
View File
@@ -475,7 +475,7 @@ class Website(openerp.addons.web.controllers.main.Home):
raise werkzeug.exceptions.NotFound()
try:
idsha = id.split('_')
idsha = str(id).split('_')
id = idsha[0]
response = werkzeug.wrappers.Response()
return request.registry['website']._image(