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

Hi All,

Am trying to set the autofocus of a form notebook page tab based on the state of the form for odoo 11 CE. When I set autofocus="autofocus" on page, it has the focus when form loads . For conditional loading,  i've tried with the attrs ="{'autofocus': [('state','=','draft')]} but that didn't work.  I basically want a particular tab to have the focus when based on the value of the state.  Any ideas on how i can achieve this pls.
Your assistance will be much appreciated. Thanks

Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
0
apr 19
3586
2
feb 23
2458
2
ott 21
4278
4
feb 24
12588
2
ago 18
4343