コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
11128 ビュー

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
1883
1
9月 19
4237
0
8月 19
3119
1
6月 19
5952
0
11月 20
4