Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie

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

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
0
kwi 19
3578
2
lut 23
2433
2
paź 21
4249
4
lut 24
12581
2
sie 18
4343