Monday, April 15, 2024
1 change
Enhancements to existing features
A radio-button choice control that can show only approved options is being moved from Surveys into the shared web layer so it can be reused more broadly. This keeps translated option labels intact while simplifying how allowed choices are configured.
Original PR description
The "radio selection with filter" widget allows to show/hide some selection values given a list of allowed selection values. The feature is similar to the "filterable selection" widget but for radio buttons. It was added inside survey first where it proved reliable. We wanna use it in base too. A slight modification took place while moving the file, the allowed selection context now takes a list of technical strings instead of a list of (technical string, humain string) pairs. This allow to keep the (possibly translated) original values. task-3820247 community: https://github.com/odoo/odoo/pull/158535