تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
2 الردود
9777 أدوات العرض

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"/>
الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
0
يوليو 19
4815
1
فبراير 22
3234
2
مارس 19
9790
4
يونيو 24
5697
3
نوفمبر 19
7354