Skip to Content
Menú
This question has been flagged
1 Respondre
6359 Vistes

  Like this i need to add..So how to add widget??

Avatar
Descartar
Best Answer

Hi,


We can use the widget attribute to add a boolean toggle widget to a boolean field named active in an Odoo form view:


<field name="active" widget="boolean_toggle" />


Hope it helps.




Avatar
Descartar
Related Posts Respostes Vistes Activitat
0
de maig 16
4439
9
de set. 20
44810
1
d’oct. 24
1573
1
de gen. 20
3847
0
de gen. 24
4633