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

Is there way to change checkbox image in qweb report. For example i want to change standard  "V" to image like this. is it possible? 

الصورة الرمزية
إهمال
أفضل إجابة

Hi,

You need to create two images: 1) One with checkbox 2) One without checkbox.

And based on the condition you can display that image accordingly in report.

الصورة الرمزية
إهمال
الكاتب

if we use <input type="checkbox" checked="True" style="text-align:center; vertical-align: middle;" /> for example. we get original Odoo checkbox. it's black and white. my goal is to change that original checkbox with my image.

المنشورات ذات الصلة الردود أدوات العرض النشاط
1
أبريل 25
1375
2
مارس 25
1572
4
نوفمبر 24
7272
1
مارس 24
2181
3
سبتمبر 23
25018