Daily updates from Odoo
Friday, July 18, 2025
8 changes · master
Resolved issues and error corrections
Renaming an employee no longer fails when the user lacks permission to rename the related document folder. This prevents unnecessary interruptions in HR workflows while keeping document access controls intact.
Original PR description
When an employee is renamed, it tries to rename the folder but if you don't have the rights on the folder, it raises an error and prevent you from renaming. Forward-Port-Of: odoo/enterprise#90269
When a field service task includes a kit product, its related delivery is now correctly validated when the task is marked done. This ensures delivered quantities update as expected and prevents orders from appearing undelivered despite the work being completed.
Original PR description
**Problem:** when the product in the sale order linked to a field service task is a kit and the task is marked as done, the delivery is not validate (as it would for a non kit product) **Steps to…
**Problem:** when the product in the sale order linked to a field service task is a kit and the task is marked as done, the delivery is not validate (as it would for a non kit product) **Steps to reproduce:** - Create a product and set up a Kit-type Bill of Materials for it (with at least two components) - Create a service-type product. - Set the Invoicing Policy to Prepaid/Fixed - set the "create on order" field to Task - assign the Project to Field Service. - Create a Sales Order using the service product. - Confirm the Sales Order. - In the linked task, click on the Products smart button - add the kit-type product from step 1. - Mark the task as done. **Current behavior:** On the sale order, the delivered quantity for the kit product is 0. If you click on the delivery smart button, you'll see that the picking is not validated yet **Expected behavior:** the picking should be validated **Cause of the issue:** https://github.com/odoo/enterprise/blob/d8dc0cabd83a29d0522cb5fd25c6956968d4408b/industry_fsm_stock/models/project_task.py#L23 the orer_line is considered as an exception because the order_line product_uom_qty is smaller than total_qty (the sum of the move_ids' product_uom_qty) But this is normal in the case of a kit opw-4848444 Forward-Port-Of: odoo/enterprise#89616 Forward-Port-Of: odoo/enterprise#88363
Restaurant bookings now show the number of guests entered during the reservation instead of incorrectly displaying zero or defaulting to table capacity. This helps staff see accurate party sizes and plan seating more reliably.
Original PR description
Currently when making an appointment for x amount of people, inside the restaurant it will show 0 as the number of people who booked. Steps to reproduce: ------------------- * Activate booking on the restaurant * Open the booking preview * Place a reservation for 5 people * In the restaurant and remove default filter > Observation: It shows 0p on the reservation Why the fix: ------------ By having a default value on the field is would not trigger the compute unless a change was made on `resource_ids` after the create was over. After fixing this bug we also aboserve that if we make a reservation for 1 person but all the tables in the restaurant are 4 person seatings, the reservation will show 4p. The reservation should in priority depend on the number entered while booking otherwise we can compute it regarding the resources. opw-4882681 Forward-Port-Of: odoo/enterprise#90277 Forward-Port-Of: odoo/enterprise#88777
This update fixes an automated test for the Knowledge app's command tour by making it find the clipboard copy button more reliably. It helps keep quality checks stable so valid updates are less likely to be blocked by inconsistent test behavior.
Original PR description
This commit fixes an issue with the embedded clipboard steps in the commands tour. The selector for the problematic steps was too specific as the copy button isn't always the 1st button. runbot-114522 task-4748626 Forward-Port-Of: odoo/enterprise#89496 Forward-Port-Of: odoo/enterprise#80845
Returned check approvals can now only be assigned to users in the Accounting Administrator or Bookkeeper groups. This prevents inappropriate users from being selected as approvers and improves control over accounting approval workflows.
Original PR description
Before this commit: - In the account_return_check any user can be set as approver, regardless of the group. After this commit: - Only Accounting Administrator and Bookkeeper groups can be set as approver on the check. task-4934329 Forward-Port-Of: odoo/enterprise#90159
Social post previews now use the correct preview content source after a recent editor change. Links in previews also keep the behavior expected by the Social app, preventing incorrect link handling before publishing.
Original PR description
This commit fixes an issue with a recent change done in 93aded56aa4f5623dfd4a984c4e52d1a9eac71a2. This commit changed the HtmlField used from the old web_editor to the new html_editor. Following this change the getter was wrongfully kept with the old name, which is what this commit is correcting. This commit also fixes an issue with link retargetting in social previews. The issue is that the links inside the HtmlViewer are retargetted to follow a specific structure which doesn't suit the social module needs. It creates an extension of the HtmlViewer that replaces itself in the components of FieldPostPreview. This extension replaces the retargetLink method to an empty function. task-4950837
This fix restores the Mexican EDI payment method field on bank statement lines so users can edit it during reconciliation. It corrects a missing field in the view, helping businesses keep payment information accurate for Mexican electronic invoicing requirements.
Original PR description
Since https://github.com/odoo/enterprise/commit/2335c953723dce66af8811fdfbfd5b811d42b109 The field l10n_mx_edi_payment_method_id is no longer available on statement lines to be edited by the end user. Forward-Port-Of: odoo/enterprise#90195
The manufacturing shop floor test setup now uses dedicated test warehouse, company, and manufacturing order naming data. This prevents demo data from interfering with automated checks, helping keep quality validation stable without changing user-facing workflows.
Original PR description
This commit modifies the MO sequence as defined in the test's setup from "WH/MO/" to "WH/TEST/MO", this way, there won't be any name's conflict with MO created by demo data. Runbot build error: [223328](https://runbot.odoo.com/odoo/error/223328) Forward-Port-Of: odoo/enterprise#89649