Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
5484 Представления

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

Аватар
Отменить
Related Posts Ответы Просмотры Активность
0
апр. 19
3579
2
февр. 23
2441
2
окт. 21
4251
4
февр. 24
12581
2
авг. 18
4343