跳至内容
菜单
此问题已终结

I have customized image field in product template. While i use to upload csv and image files for those field it is showing the mime type is application/octet-stream in the database. and also not visible in the UI. But the image_1920 default field is working properly. 

How to resolve this issue?

形象
丢弃
最佳答案

Did you use any image widget for binary field in xml? If you only put binary field it might be showing just text by default. 

形象
丢弃
编写者

I have used the image widget. Actually it is getting some error while upload products by import CSV/Xlsx file. In the file I give the image name with extension (e.g. test.jpeg) and upload the same image.
If i give image from the form view it is okay.

最佳答案

Hi,


Refer to the following.


https://www.youtube.com/watch?v=W3ECMHAotgI


https://www.cybrosys.com/slides/import-product-images-in-odoo-18


Hope it helps

形象
丢弃
编写者

I have already explore these. But my problem is when I upload data for my custom binary field it is showing import successful but in the form view it is showing image could not display alert.

相关帖文 回复 查看 活动
0
5月 23
2019
1
5月 21
8921
2
3月 18
3201
3
7月 25
1925
0
6月 25
2639