Skip to Content
Menu
This question has been flagged
1 Reply
5750 Views

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

Avatar
Discard
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
Discard
Related Posts Replies Views Activity
0
May 16
4209
9
Sep 20
44534
1
Oct 24
1305
1
Jan 20
3614
0
Jan 24
4366