Skip to Content
Menu
This question has been flagged
1 Reply
5271 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
4083
9
Sep 20
44350
1
Oct 24
1081
1
Jan 20
3463
0
Jan 24
4230