Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
4072 Lượt xem

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. 

Ảnh đại diện
Huỷ bỏ
Tác giả

thanks a lot.

Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 8 23
1319
2
thg 12 22
1291
3
thg 4 17
10119
1
thg 10 22
10924
0
thg 8 21
1666