Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
1 Vastaa
11891 Näkymät

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? 

Avatar
Hylkää
Paras vastaus

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.

Avatar
Hylkää
Tekijä

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.

Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
1
huhtik. 25
1353
2
maalisk. 25
1546
4
marrask. 24
7229
1
maalisk. 24
2149
3
syysk. 23
24992