Images are not shown in Odoo v9.0

試著忘記壹切 提交于 2019-12-12 18:27:16

问题


I was evaluating Odoo v9.0 by pulling odoo v9.0 branch in my system and found that it is having some problem in showing the images. It prompts up with an error "Could not display the selected Image". If you open the product form view or company form view it comes up with the error. Even if you try to save new image to a product, after saving the image again it comes with the same error and image is not displayed.

The same issue is with the odoo e-commerce website, where no images are seen. I tried to debug where I can see that binary value is found, but somehow not been displayed on the screen.

Does it require any configuration? Does anybody knows the reason for this?


回答1:


You have to update your werkzeug python librairy.

pip install --upgrade werkzeug



回答2:


use this command

sudo pip install --upgrade werkzeug


来源:https://stackoverflow.com/questions/32880329/images-are-not-shown-in-odoo-v9-0

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!