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

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
452
2
مارس 25
618
4
نوفمبر 24
6229
1
مارس 24
1223
3
سبتمبر 23
23910