Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
1 Responder
4076 Visualizações

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. 

Avatar
Cancelar
Autor

thanks a lot.

Melhor resposta

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

Avatar
Cancelar
Publicações relacionadas Respostas Visualizações Atividade
0
ago. 23
1319
2
dez. 22
1291
3
abr. 17
10120
1
out. 22
10931
0
ago. 21
1666