Skip to Content
Menu
This question has been flagged
1 Reply
5106 Views

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.

Avatar
Discard
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.


Best Answer

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"/>

Avatar
Discard

Doesn't work with Odoo 11