跳至內容
選單
此問題已被標幟
3 回覆
15856 瀏覽次數

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?

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
1
8月 22
4635
3
3月 16
4450
0
2月 16
4150
3
11月 21
12272
0
8月 21
2762