تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
5159 أدوات العرض

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
مايو 17
4040
1
أبريل 25
3667
V17 Tree, Form view تم الحل
1
مارس 25
1453
0
مارس 24
1404
0
أكتوبر 22
2583