Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
1 Antworten
11099 Ansichten

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
Verwerfen
Beste Antwort

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
Verwerfen
Autor

Thank you

You are welcome

Verknüpfte Beiträge Antworten Ansichten Aktivität
0
Feb. 21
1869
1
Sept. 19
4218
0
Aug. 19
3106
1
Juni 19
5940
0
Nov. 20
4