Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
2 Răspunsuri
9817 Vizualizări

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

Imagine profil
Abandonează
Autor Cel mai bun răspuns

Hi Mihran,

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

Imagine profil
Abandonează
Cel mai bun răspuns

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"/>
Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
0
iul. 19
4878
1
feb. 22
3266
2
mar. 19
9827
4
iun. 24
5713
3
nov. 19
7366