Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
2 Ответы
9788 Представления

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

Аватар
Отменить
Автор Лучший ответ

Hi Mihran,

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

Аватар
Отменить
Лучший ответ

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"/>
Аватар
Отменить
Related Posts Ответы Просмотры Активность
0
июл. 19
4826
1
февр. 22
3248
2
мар. 19
9806
4
июн. 24
5699
3
нояб. 19
7355