콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다

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
2052
1
5월 21
8993
2
3월 18
3231
3
7월 25
1978
0
6월 25
2669