跳至內容
選單
此問題已被標幟
1 回覆
11896 瀏覽次數

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
4月 25
1366
2
3月 25
1561
4
11月 24
7259
1
3月 24
2176
3
9月 23
25004