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

I have following Odoo form view:

<group class="o_group_col_4">
 <field name="start_time"/>
 <field name="finish_time"/>
 <field name="readonly_field1" attrs="{'readonly':True}"/>
</group>
<group class="o_group_col_4">
 <field name="readonly_field2"  attrs="{'readonly':True}"/>
 <field name="date"/>
</group>

In the form view when I press TAB key from start_time, it goes to end_time but form end_time it does not go to date field on TAB.

Can anyone help how can we specify tabindex in odoo form view, so that the TAB navigation becomes start_time -> end_time -> date?

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

Hello,
you can try this. it will definitely help you. :
<group col="4">

<field name="start_time"/>

<field name="finish_time"/>

<field name="date"/>

<field name="readonly_field1" attrs="{'readonly':True}"/>

<field name="readonly_field2"  attrs="{'readonly':True}"/>

</group>

Thank You.

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

Thank you

Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 5 17
3863
1
thg 4 25
3400
V17 Tree, Form view Đã xử lý
1
thg 3 25
1193
0
thg 3 24
1270
0
thg 10 22
2426