Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
4078 Widoki

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. 

Awatar
Odrzuć
Autor

thanks a lot.

Najlepsza odpowiedź

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

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
0
sie 23
1320
2
gru 22
1291
3
kwi 17
10120
1
paź 22
10935
0
sie 21
1666