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

How i can show a checkbox case in qweb repport 

then i need to make in my repport a check case visible 


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

Hello isio-odoo,

Here you go!

 You can use input box

    <input type="checkbox" id="oe_import_tracking" checked="checked"/>

Hope this will help.

Regards,

Anil.

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

For Many2many it is possible to use widget="many2many_checkboxes"

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

in odoo11 you can choose this class for checkbox

i class="fa fa-check which opening and closing tags This gives better checkbox than default in odoo

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

Hello,

If you want to show checkbox checked then you should use,

<input type="checkbox" checked="True"/>

If you want to show checkbox unchecked then you can use,

<input type="checkbox"/>


It works for me, in qweb report.

Ảnh đại diện
Huỷ bỏ

for many2many field how can i give checkboxes (select all whereas searchmore )