-->

Images are not shown in Odoo v9.0

2019-07-23 08:52发布

问题:

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