Skip to Content
Menú
This question has been flagged
2 Respostes
322 Vistes

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?

Avatar
Descartar
Best Answer

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. 

Avatar
Descartar
Autor

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.

Best Answer

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

Avatar
Descartar
Autor

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.

Related Posts Respostes Vistes Activitat
0
de maig 23
1942
1
de maig 21
8780
2
de març 18
3121
3
de jul. 25
1732
0
de juny 25
2548