Thursday, June 19, 2025
7 changes · master
Resolved issues and error corrections
This fix ensures HR work entries receive the correct names when they are created or updated. It helps payroll and HR users identify records more reliably and reduces confusion from incorrect labels.
The website builder now shows the user's selected theme color presets in color picker previews instead of falling back to Odoo defaults. This helps users make accurate design choices and keeps website editing consistent with their chosen branding.
Original PR description
Steps to reproduce: 1. Go to the website builder in edit mode 2. Click on a snippet which has a colorpicker option with a theme tab (ex: Background option of the Intro snippet) 3. Click on the colorpicker 4. The color presets preview does not always show the correct presets Before fix: Color presets preview showed the default odoo color presets After fix: Now the shown color presets are the correct ones chosen by the user
This fixes an issue where a document's primary file could be hidden when there were no additional attachments. Users opening affected forms will now see the expected main attachment, reducing confusion and missed document access.
Original PR description
When opening a form view if there is a main attachment but there is no attachment, the main attachment would not be displayed. This is happenning because we are setting attachment_ids and not attachment directly which are not added into attachmentsInWebClientView. The solution here was to display the files if we either have some attachments or the main attachment with a small refactoring to have the condition to display those file in one place. task-4784283 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Website editors can now add a field to a form and undo that action without accidentally removing the whole form. This makes form editing safer and prevents unnecessary rework when using the website builder.
Original PR description
This commit ensures that adding a new field to a form correctly updates the history. Steps to reproduce: - Drop a form snippet - Click on `+ Field` - A new field is added - Clicking on undo should only remove the field Previously, clicking undo would remove the entire form snippet.
HTML fields updated using an AI prompt now show their new value right away without requiring a page refresh. This makes the editing experience smoother and prevents users from thinking the AI-generated content was not saved or applied.
Original PR description
Bug === When computing an HTML field with an AI prompt, we need to refresh the page to see the new value. Add an explicit key in the template to force to re-render the component when the value changed. Task-4865894
Readonly list views in selection dialogs no longer show controls that suggest records can be edited. Users now get the expected behavior: clicking these areas selects records instead, reducing confusion during data selection.
Original PR description
This commit fixes an issue where list views inside a select_create_dialog could have multi_edit enabled, allowing users to interact with fields even when the view is readonly. Although the fields couldn't actually be edited, the presence of interactive UI elements gave the false impression that editing was possible. The fix replaces these interactions with record selection instead. task-4829595
The payroll system now shows the out-of-contract warning more accurately when reviewing payslips. This helps payroll teams avoid unnecessary confusion and better identify payslips that may need attention before processing.