跳至内容
菜单
此问题已终结

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

形象
丢弃
相关帖文 回复 查看 活动
0
4月 19
3577
2
2月 23
2433
2
10月 21
4249
4
2月 24
12579
2
8月 18
4339