Skip to Content
Menu
This question has been flagged
1 Reply
4990 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
3946
9
Sep 20
44243
1
Oct 24
949
1
Jan 20
3351
0
Jan 24
4074