Daily updates from Odoo
Wednesday, June 18, 2025
7 changes · master
Resolved issues and error corrections
This fixes an issue where contract countersignatures could fail after a previous contract version was archived. It also restores the signatories tab on contract templates, helping HR teams manage required signers more easily.
Original PR description
In this PR we fix countersignature by making sure to flush the env after archiving the previous version. We also reintroduce the signatories tab that was removed on contract templates
The payroll empty dashboard now applies icon sizing only where intended. This prevents unrelated icons from being resized, keeping the payroll interface cleaner and more consistent for users.
Original PR description
The CSS class selector for the icon size in the payroll empty dashboard also selected other icons. This commit fixes the issue by adding specific selectors for the empty payroll dashboard.
Approval request owners can no longer modify a request after it has been approved, except when cancelling it. This protects approved decisions from being changed afterward and prevents owners from approving their own requests.
Original PR description
Issue: ------ An approval can be edited by the request approval owner even if it has been approved. Solution: --------- Prevent the owner from writing on the approval after validation except to cancel it. Prevent owner to approve his own approvals. Note: An `ir.rule` is not possible because the owner must always be able to write on his approval (but in a controlled way, i.e. only for cancel). task-4840746
The employee contract information view now shows the extra hours checkbox when the work entry source is not attendance. This ensures HR users can see and manage the expected overtime setting consistently, avoiding confusion or missing configuration.
Original PR description
In this PR, We added the missing extra hours checkbox when the work entry source is not attendance in the Contract Information in employee view. Before:  After:  Task 4869074.
The appointment HR performance test was adjusted to reflect an expected extra data lookup after recent HR data model changes. This keeps automated checks aligned with the current system behavior and prevents false failure reports.
Original PR description
Since hr has been refactored and lot of hr.employee fields moved to hr.version model, we have to increase Querycount by one as now _slot_availability_prepare_users_values_workhours function calls for hr.version together with hr.employee to get all the right values. Original function flamegraph  Since https://github.com/odoo/odoo/pull/202869, extra call for hr.version when we are trying to read employees[0].resource_calendar_id  Fixing [Runbot error 226700](https://runbot.odoo.com/odoo/error/226700)
The Sign app menu now uses the standard Odoo dropdown styling for a signature request action. This prevents the icon from appearing at the wrong size when users open or click the menu, improving visual consistency.
Original PR description
This commit adds the class `o_menu_item` in order to update our custom dropdown item to match the Odoo's dropdown, fixing the scale of the icon when clicking on the menu. task-4876538
A budget-related automated test was updated so it no longer depends on demo company data that may not be available in some test runs. This helps keep internal quality checks stable and reduces false failures during development.
Original PR description
This fix addresses a test failure in runbot. The test previously relied on base.main_company, which causes issues when running the test suite on master without the --with-demo flag enabled. To ensure compatibility, the test has been updated to use self.company directly instead of base.main_company no-task