Monday, July 10, 2023
3 changes · master
Resolved issues and error corrections
Checkboxes and toggles now only respond when users click directly on the control itself. This reduces accidental changes caused by clicking nearby empty space, improving reliability in forms and settings.
Original PR description
This commit simply restricts the clickable with of any checkbox component to be restricted to the checkbox (or toggle) itself so that the user can no longer toggle it accidentally from a possibly long range. opw-3378955
This fixes a validation rule so custom field names must truly start with the required prefix. It prevents incorrectly named fields from being accepted, improving data consistency in the core system.
Original PR description
Oversight in revision 8c38baee8526b725536eac6b6dee04aca92a4aad In SQL, The underscore character ( _ ) represents a single character to match a pattern from a word or string. Meaning `name LIKE 'x_%'` allows names starting by `x`, and not names starting by `x_` as expected. Add the escape in the constraint to enforce starting by `x_` and not just `x`
This fixes an issue in the Planning app where default values were prepared in the wrong format when sending planning-related messages. The change helps prevent incorrect behavior or errors in that workflow, with limited impact beyond this specific setup step.
Original PR description
Companion of https://github.com/odoo/odoo/pull/127718