跳至內容
選單
此問題已被標幟
1 回覆
7343 瀏覽次數

  Like this i need to add..So how to add widget??

頭像
捨棄
最佳答案

Hi,


We can use the widget attribute to add a boolean toggle widget to a boolean field named active in an Odoo form view:


<field name="active" widget="boolean_toggle" />


Hope it helps.




頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
0
5月 16
4777
9
9月 20
45268
1
10月 24
1959
1
1月 20
4176
0
1月 24
5002