Thursday, February 2, 2023
1 change · master
New functionality added to Odoo
A new icon-style button can now be used to show and change yes/no fields in the web interface. This gives teams a more visual and compact way to represent simple choices, with supporting tests added to confirm it works as expected.
Original PR description
This commit adds a new widget to the field registry. This button is represented with an icon and acts as a boolean field widget. A test file has also been added to verify its behavior. task #3121078 Example image, using a fa-recycle icon: <img width="104" alt="image" src="https://user-images.githubusercontent.com/35101914/213397479-661b9d39-f2e5-40de-88e2-4ee1ede0cbc8.png">