Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
5489 มุมมอง

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
3582
2
ก.พ. 23
2449
2
ต.ค. 21
4261
4
ก.พ. 24
12583
2
ส.ค. 18
4343