Thursday, February 13, 2025
5 changes · saas-17.4
Resolved issues and error corrections
This fix prevents the same record from being processed more than once when users select grouped items in list views. It reduces the risk of unexpected errors during bulk updates or deletions by sending a clean list of selected records to the system.
Original PR description
In the context of grouping records on a Many2Many field (e.g. tags of tasks) in the list view, it's possible to select the same record multiple times. In such case, when modifying the selected records, there could be duplicated ids in the arguments of the different RPCs (write, unlink, call). Processing the same record multiple times in backend could cause unexpected issues. So in this PR, we filter out the duplicated records ids before each call, to work with a clean recordset in backend. version-17.4 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Fixed an issue where email templates created for one mailing type, such as event registrations, could appear when creating a different type of mailing. This helps users choose only relevant templates and reduces the risk of sending messages with the wrong content.
Original PR description
Bug === 1. Create a mailing for an event registration 2. Add that mailing to the template 3. Create a new mailing for "mailing list" => The "event registration" template is proposed and it should be. Since 5226dc972560870d03e7e4bc5a838f1951b90ac7 , we removed the JS form view, which added `mailingFilterTemplates: true` in the env. That environment variable was responsible for the HTML component to filter the templates based on the model. Task-4568452
This fix ensures dark mode styling files for Gantt views are only loaded when appropriate, rather than being included with the standard light mode assets. It helps prevent unintended visual issues for restaurant appointment users while keeping the change limited to asset loading behavior.
Original PR description
This commit fixes an asset issue with web_gantt where the dark mode specific assets from web_gantt were included in the main (light mode) assets from pos_restaurant_appointment. Part of task-4571228
Duplicating a field service task no longer automatically carries over the warranty status from the original task. This helps avoid incorrect warranty handling and lets users decide whether the new intervention should be covered.
Original PR description
Before this commit, the under warranty field is always copied when the user duplicates a task which it does not make sense since the new task could not have exactly the same context and the intervention could be different. This commit avoid copying the under warranty field when the user duplicates a task to let the user decide if the new task should be also in warranty or not. opw-4571460
The appointment app no longer shows an appointment reservation status for regular calendar meetings. This prevents users who decline a standard meeting from seeing a misleading “Appointment Reserved” message, reducing confusion in email response flows.
Original PR description
Status indicator was designed independently from the calendar indicator. Overriding its behavior leads to the situation where we show appointment status instead of the calendar indicator. This commit attempts to keep the changes minimal so we are hiding the status indicator for non-appointment events from the appointment template. Reproduce --- - Install appointment. - Schedule a meeting in the calendar. - Open the "Decline" link from the received confirmation email (as public_user). - BUG: See "Appointment Reserved!" even tho we clicked "Decline" Note: The bug doesn't occur when the appointment is not installed. opw-[4295448](https://www.odoo.com/web#id=4295448&view_type=form&model=project.task)