Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
3 Risposte
15746 Visualizzazioni

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

 

Avatar
Abbandona

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.

Risposta migliore

Just write in xml file like this :

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

Avatar
Abbandona

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 !

Risposta migliore

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

This is working in Odoo V12.

Avatar
Abbandona
Risposta migliore

Any idea how to do this in version 15?

Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
1
ago 22
4580
3
mar 16
4389
0
feb 16
4118
3
nov 21
12211
0
ago 21
2705