Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
11884 Lượt xem

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? 

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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.

Ảnh đại diện
Huỷ bỏ
Tác giả

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.

Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 4 25
1345
2
thg 3 25
1534
4
thg 11 24
7220
1
thg 3 24
2141
3
thg 9 23
24983