Monday, March 9, 2026
11 changes · master
New functionality added to Odoo
This update improves the calculation of meal vouchers within the Odoo Enterprise system. Specifically, a new rule has been added to account for worked days, and the existing retention calculation has been adjusted. This ensures more accurate and compliant meal voucher payouts for employees.
Original PR description
In this commit, we added the meal vouchers worked days rule and adjusted the quantity calculation in the retain on meal voucher rule. task-5877401
Enhancements to existing features
This update adjusts the salary scale parameters used in Odoo's Belgian payroll module (l10n_be_hr_payroll) to reflect changes in Belgian labor laws as of January 1, 2026. These updated values ensure accurate payroll calculations for employees in Belgium, maintaining compliance with current regulations.
Original PR description
. Update cp200_salary_scale_first_year values for 01/01/2026 . Update cp200_salary_scale values for 01/01/2026 task-5485636 Forward-Port-Of: odoo/enterprise#107473
Resolved issues and error corrections
This update fixes a potential data error that could occur when moving folders linked to accounting settings to the trash. The automated system cleaning process was incorrectly attempting to delete these folders, leading to database inconsistencies. This change ensures these folders are excluded from the cleanup process, maintaining data integrity.
Original PR description
When a workspace(folder) linked to a folder setting is moved to the trash and the ``Base: Auto-vacuum internal data`` cron runs, a traceback will generate. Steps to reproduce the error: - Install…
When a workspace(folder) linked to a folder setting is moved to the trash and the ``Base: Auto-vacuum internal data`` cron runs, a traceback will generate. Steps to reproduce the error: - Install ``documents_account`` module - Go to Documents > Configuration > Files Centralization > Enable Accounting > Select any workspace > Save > - Click on Journals > Create a new > Select any Journal > Create a Workspace A > Save - Go to Documents > Click on Workspace A > Actions > Move to trash - Run the ``Base: Auto-vacuum internal data`` cron Traceback: ```py ForeignKeyViolation: update or delete on table "documents_document" violates foreign key constraint "documents_account_folder_setting_folder_id_fkey" on table "documents_account_folder_setting" ``` solution: override the ``_get_gc_clear_bin_domain`` method to exclude folders linked to folder settings, preventing their deletion during the garbage collection. sentry-7193540869 Forward-Port-Of: odoo/enterprise#109776 Forward-Port-Of: odoo/enterprise#104875
This update ensures that the 'Insert in spreadsheet' action is only visible in list view menus for users with the necessary permissions for Documents and Dashboards. Previously, users without these permissions could still see the action, which has now been corrected for improved security and user experience.
Original PR description
Current behavior before PR: - The 'Insert in spreadsheet' action was always visible in the list view action menu, even when the user lacked access rights for Documents or Dashboards. Desired behavior after PR is merged: - The action is shown in the list view action menu only if the user has the required permissions. Task: 5930184 Forward-Port-Of: odoo/enterprise#109900 Forward-Port-Of: odoo/enterprise#108099
This update addresses a failing test within the Odoo Enterprise module, ensuring stability. The change refines the logic for determining product pushes based on move lines, resolving a technical issue. This improves the reliability of stock management processes.
Original PR description
This commit is part of the fw port community PR https://github.com/odoo/odoo/pull/252123. This commit fixes afailing test in enterprise. Task-5212472
This update resolves an issue where the internal note from a subscription wasn't correctly displayed in the list view of upsell orders. The fix ensures that notes are accurately reflected in both form and list views, improving data visibility and order management. This was caused by a technical detail related to how Odoo's ORM handles dependencies.
Original PR description
Steps to reproduce: ---------------------------------------- 1. Install Subscription and Studio modules 2. Using Studio, add `internal_note_display` field in the Quotation list view 3. Create a…
Steps to reproduce: ---------------------------------------- 1. Install Subscription and Studio modules 2. Using Studio, add `internal_note_display` field in the Quotation list view 3. Create a Subscription with some text in the Notes tab 4. Confirm it and create/confirm an invoice 5. Create an Upsell from this Subscription → Confirm 6. Open the Quotation list view Observation: ---------------------------------------- The internal note is correctly populated in the form view of the upsell order, but remains empty in the list view. Issue: ---------------------------------------- https://github.com/odoo/enterprise/blob/ba950af4ea21624419cf0cb7bbbe92c678ff7325/sale_subscription/models/sale_order.py#L531-L537 `_compute_note_order`accessed `subscription_id.note_order` recursively, Without the recursive dependency in the decorator, the ORM does not properly resolve the `note_order` chain during batch computation (list view), resulting in an empty `internal_note_display` on upsell orders. Form view worked because fields are fetched lazily, ORM tracks full dependency chain. Solution: ---------------------------------------- Add `recursive=True` on the `note_order` field so the ORM correctly tracks the full dependency chain and to allow the ORM to handle the self-referencing compute without warnings. This ensures correct recomputation in batch contexts such as list views. opw-5346451
This update resolves an issue where incorrect logic was used to handle boolean options in date and time fields. The change ensures accurate representation of these options, preventing potential errors in reporting and scheduling. This aligns with best practices for data integrity within Odoo.
Original PR description
*:appointment,esg_hr_fleet This commit is the counterpart of a community commit which removes wrong usages of `exprToBoolean` to evaluate boolean options in date(time) field widgets and formatters. This commit adapts the impacted archs accordingly. Part of task~6012182
This update improves the Knowledge app by automatically moving linked articles to the trash when an audit report is deleted. This prevents workspaces from becoming cluttered and reduces confusion about article relevance. It's a simple change to maintain a cleaner and more organized user experience.
Original PR description
When a user deletes an audit report, the articles linked to that report currently remain visible in the Knowledge app. This can lead to cluttered workspaces and confusion about which articles are still relevant. To keep workspaces clean, these linked articles will now be automatically moved to the trash when the audit report is deleted. Task-5902448 Forward-Port-Of: odoo/enterprise#101234
This update resolves an issue where the Timesheet Assistant form wasn't properly clearing after deselecting multiple suggestions. Previously, the form remained open. Now, the form will automatically clear and disappear when all suggestions are deselected, ensuring a cleaner user experience.
Original PR description
# Steps to reproduce - Open Timesheet Assistant - Select multiple suggestions - Click on the cross to deselect all suggestions # Current behaviour The created timesheet from is not cleared and remains opened. # Expected behaviour Instead, the form should be cleared and disappear. task-6003551 Forward-Port-Of: odoo/enterprise#109819
This update allows users to sign multiple documents directly within the Documents App. Previously, this functionality was limited. The change was implemented to address a reporting issue related to code counting within Odoo, ensuring accurate tracking of customizations.
Original PR description
This commit allows to sign multiple documents directly from the Documents App. This was removed by this commit (df271283cb277b69ea16c3adbfe90cc3a6e3d585) by wrapping the "code" server action into a "multi" one. It was done to avoid the cloc tool from counting the line as a customization, but since the server action is included in odoo path it's excluded from the count. Task-5416998
This update fixes an issue where employees could potentially select holidays from different companies within the Odoo Enterprise system. Now, the Gantt chart for holiday scheduling restricts employee selection to only their current company, ensuring accurate and consistent leave management. This improves data integrity and simplifies the scheduling process.
Original PR description
Task: 6012646