Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
11894 Visualizzazioni

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
Abbandona
Risposta migliore

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
Abbandona
Autore

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.

Post correlati Risposte Visualizzazioni Attività
1
apr 25
1355
2
mar 25
1547
4
nov 24
7230
1
mar 24
2149
3
set 23
24993