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

According to the Documentation of Odoo, it had a build-it widget called "badges" which displays all selectable values simultaneously inside rectangular shapes, organized horizontally. However, the usage of the badges was not stated clearly. After multiple trials of the usage, the badges still do not function as expected, it just looks like a normal drop-down selection. 

頭像
捨棄
作者

thanks a lot.

最佳答案

Hi,

You can define a selection field and along with the field name you can add widget="selection_badge" , once the widget is added and if the field is editable (ie, not readonly), the selection values will display horizontally as rectangle shapes.



Badge WIdget:






Thanks

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
0
8月 23
1315
2
12月 22
1291
3
4月 17
10112
1
10月 22
10914
0
8月 21
1666