Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
11103 Zobrazení

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]}"/>​

Avatar
Zrušit
Nejlepší odpověď

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

Avatar
Zrušit
Autor

Thank you

You are welcome

Related Posts Odpovědi Zobrazení Aktivita
0
úno 21
1872
1
zář 19
4220
0
srp 19
3106
1
čvn 19
5942
0
lis 20
4