跳至内容
菜单
此问题已终结
1 回复
5004 查看

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?

形象
丢弃
最佳答案

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.

形象
丢弃

Thank you

相关帖文 回复 查看 活动
0
5月 17
3863
1
4月 25
3402
1
3月 25
1193
0
3月 24
1271
0
10月 22
2426