Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
4064 Vistas

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
Descartar
Autor

thanks a lot.

Mejor respuesta

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
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
0
ago 23
1316
2
dic 22
1291
3
abr 17
10113
1
oct 22
10915
0
ago 21
1666