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

When i am trying to upload more than images at a time in the form view of my model,i am unable to upload multiple images at a time.

Is there any attribute used that i can able to upload multiple images at a time ?

please suggest

in my .py file:

image = fields.Binary('Upload Image')

and in my .xml file :

<field name="image" string='Upload image' widget="image" required='1' options="{'preview_image': 'image_small', 'size': [150, 150]}"/>​

아바타
취소
베스트 답변

Hi, 

You can add bulk images in binary field at a time by means of an attachment.

For an explanation, refer this link: https://www.odoo.com/forum/help-1/question/upload-an-image-as-an-attachment-125213

아바타
취소
작성자

Thank you

You are welcome

관련 게시물 답글 화면 활동
0
2월 21
1820
1
9월 19
4190
0
8월 19
3070
1
6월 19
5887
0
11월 20
4