Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
3 Відповіді
15804 Переглядів

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
4588
3
бер. 16
4397
0
лют. 16
4129
3
лист. 21
12224
0
серп. 21
2724