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

  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
4059
9
9月 20
44333
1
10月 24
1059
1
1月 20
3453
0
1月 24
4209