Skip to Content
Menu
This question has been flagged
1 Reply
6949 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
4648
9
Sep 20
45068
1
Oct 24
1794
1
Jan 20
4035
0
Jan 24
4840