Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
2 Antwoorden
9838 Weergaven

Hi,

I am using many2many binary widget for ir.attachment many2many field for adding images. The issue is after saving form the image thumbnails are not appearing only image url is appearing. Is there any way to show thumbnails after saving form in odoo 12.


Thank you

Avatar
Annuleer
Auteur Beste antwoord

Hi Mihran,

This one I know, and this is not the issue I reported. I reported for many2many field with ir_attachmnet

Avatar
Annuleer
Beste antwoord

Hi Sunil,


Add a new binary field and call that field in XML with image widget. For example,

image = fields.Binary(string="Image")
and in XML add,
<field name='image' widget="image" class="oe_avatar"/>
Avatar
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
0
jul. 19
4899
1
feb. 22
3285
2
mrt. 19
9840
4
jun. 24
5731
3
nov. 19
7374