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

I want to set one page(Tab) as default, when i open the screen 

<notebook>

<page1></page1>

<page2></page2>

</noteboook>

here i want to set the page2 as default

 

อวตาร
ละทิ้ง

I don't think you can. To achieve that. you probably need to make page2 the first one.

Is it sure that is impossible? It could be very useful if we have to select a default page that come from another module and already override another form view.

คำตอบที่ดีที่สุด

Just write in xml file like this :

<page string="Description" autofocus="True"> or <page string="Description" autofocus="autofocus">

อวตาร
ละทิ้ง

Does not work in v8.

But does in v10 ;)

This works with version 10 and 9, but not previous versions.

This will work for odoo 9 and odoo 10...

Doesn't work with odoo V11 !

คำตอบที่ดีที่สุด

<page string="Description" autofocus="autofocus"> 

This is working in Odoo V12.

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

Any idea how to do this in version 15?

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
1
ส.ค. 22
4666
3
มี.ค. 16
4471
0
ก.พ. 16
4166
3
พ.ย. 21
12303
0
ส.ค. 21
2773