Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
2 Respostas
9797 Visualizações

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
Cancelar
Autor Melhor resposta

Hi Mihran,

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

Avatar
Cancelar
Melhor resposta

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
Cancelar
Publicações relacionadas Respostas Visualizações Atividade
0
jul. 19
4841
1
fev. 22
3255
2
mar. 19
9813
4
jun. 24
5702
3
nov. 19
7356