Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
1 Răspunde
5147 Vizualizări

i have created a odoo module with 6 tabs(pages) under the form customers.when i select one customer it opens the form with all the tabs and i can go through the tabs.if i select 4th tab and go back to the customers list by clicking on the form name(here customers) and again select the customer it shows the same 4th tab.can i make the 1st tab as default without refreshing whole the browser? (i tried "autofocus="autofocus"" but it works only if we refresh the browser page) im using odoo version 10.

Imagine profil
Abandonează
its not working.what to do now

On Wed, Feb 14, 2018 at 10:59 PM, Hilar <hilarak@gmail.com> wrote:

A new answer on Default tab Issue has been posted. Click here to access the post :

See post



Sent by Odoo S.A. using Odoo.


Cel mai bun răspuns

you are giving html5 attribute to the tabs and it doesn't works. you could try default_focus="1"
for example :

<field name="name" default_focus="1" placeholder="Name"/>

Imagine profil
Abandonează

Doesn't work with Odoo 11