Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
4 ตอบกลับ
18250 มุมมอง

How i can show a checkbox case in qweb repport 

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


อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

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.

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

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

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

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

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

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.

อวตาร
ละทิ้ง

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