Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
2 Risposte
9834 Visualizzazioni

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
Abbandona
Autore Risposta migliore

Hi Mihran,

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

Avatar
Abbandona
Risposta migliore

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
Abbandona
Post correlati Risposte Visualizzazioni Attività
0
lug 19
4891
1
feb 22
3282
2
mar 19
9838
4
giu 24
5728
3
nov 19
7373