Thursday, February 26, 2026
7 changes · master
Enhancements to existing features
When an employee’s manager changes, Odoo now updates attendance, expense, and leave approvers only when the previous manager was already the approver and the new manager has a user account. This avoids accidentally assigning a new approver where none was set before, improving consistency in approval workflows.
Original PR description
*: attendance,expense,holidays
This commit adjusts the update of an employee's {attendance/expense/leave} approvers
upon changing their manager.
The update is performed only if these conditions are met:
- The new manager has a linked user.
- The current attendance approver is the previous manager.
The prevents setting the approver to the new manager when the
current approver is unset.
Task: 4804439Out-of-stock notices on the website shop are now shown below the availability badge instead of inside it. This makes the message easier for shoppers to read and helps reduce confusion when a product is unavailable.
Original PR description
Before this PR, the out of stock message was shown within the badge, now it is displayed below which is more readable. task-5461430 | Before | After | |--------|--------| | <img width="541" height="562" alt="Screenshot 2026-01-13 at 15 47 31" src="https://github.com/user-attachments/assets/69836961-36bb-4795-9dde-4aece11a09fb" /> | <img width="541" height="562" alt="Screenshot 2026-01-13 at 15 45 42" src="https://github.com/user-attachments/assets/bbfd654f-ae30-4891-ace6-2f880a7c829d" /> | --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update ensures timesheet approvers are correctly assigned when an employee's manager changes. Specifically, it only updates the approver if the new manager is linked to a user and the current approver was previously the employee's manager. This prevents incorrect approver assignments and maintains accurate timesheet workflows.
Original PR description
This commit adjusts the update of an employee's timesheet approvers upon changing their manager. The update is performed only if these conditions are met: The new manager has a linked user. The current attendance approver is the previous manager. The commit prevents setting the approver to the new manager when the current approver is unset. Task: 4804439
This update adjusts the way meal voucher costs are calculated in Odoo, moving away from a fixed default of 1.09. Now, the employee's contribution is adjustable, and the employer's cost is dynamically calculated based on this amount. A new warning ensures the meal voucher remains within reasonable limits (max 10, min 1.09).
Original PR description
The employee's share for the meal voucher was taking 1.09 as default and it was not changable. New field is added, thus, it is adjustable and employer's cost is calculated according to the employee's share. task - 5922934
This update improves the IoT scale test within the Odoo Enterprise system. Specifically, the test now correctly identifies a product ('whiteboard_pen') as one that can be weighed, ensuring accurate data collection for IoT integrations. This change enhances the reliability of the test and the overall IoT functionality.
Original PR description
In this commit: --- - Updated the IoT scale test to mark the test product (`whiteboard_pen`) as a scalable product (`to_weight = True`). task-4992764 related-https://github.com/odoo/odoo/pull/231368
This update adds a confirmation dialog before deleting a payrun record. This prevents users from accidentally removing payroll data, ensuring data integrity and compliance. It's a small change that significantly reduces the risk of data loss.
Original PR description
Displays a confirmation dialog when the user tries to delete the payrun to prevent accidental deletion of the payrun record. task-5916194
This update simplifies the appearance of import templates in the account_bank_statement and mrp_mps modules. The button labels have been shortened to reduce visual clutter and ensure a more consistent look across all Odoo import views, aligning with recent UI improvements.
Original PR description
This commit aligns the import template button text in `account_bank_statement` and `mrp_mps` with the recent UI cleanup in `base_import` (https://github.com/odoo/odoo/pull/248233). The button labels have been shortened to reduce visual clutter and ensure consistency across all import views. task-5242240