Tuesday, April 16, 2024
2 changes · saas-17.2
Resolved issues and error corrections
This update prevents crashes when grouped data is sorted by date fields that include a period such as day or month. It makes reporting and grouped list views more reliable when using date-based sorting.
Original PR description
Before this commit, a mocked read_group with an orderby that contains a date field with granularity (day, month, ...) crashed because the granularity was not removed before looked up in the available fields. Description of the issue/feature this PR addresses: Current behavior before PR: Desired behavior after PR is merged: --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Survey radio button questions that filter available choices now keep the original choice labels and order, including translated labels. This prevents users from seeing incorrect or untranslated options in filtered survey selections, such as recruitment surveys.
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. 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 along with the original selection order. task-3829801