Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
[IMP] fields: remove support for non-string selections #29039
@KangOl I don't understand. IMHO, there is not point using the boolean widget with a selection field. The boolean widgets are aimed a boolean fields only.
We have used selection fields in place of boolean fields in the configuration wizard. The point was to use the radio button widget. This one works as expected.
@pedrobaeza yes, interfacing with external systems which use enums. There are lots of these in the wild. The support was badly broken with "0" being not usable (displayed as unset, in Odoo), we ended up using stringified integers and adding int(val) and str(val) all over the place to parse / generate the expected values.
See for instance #11015