跳至内容
菜单
此问题已终结
1 回复
4088 查看

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
1330
2
12月 22
1291
3
4月 17
10125
1
10月 22
10944
0
8月 21
1666