Thursday, October 30, 2025
6 changes · saas-18.2
Resolved issues and error corrections
The attendance management “To approve” filter now includes records with zero overtime. This helps managers review, approve, or manually adjust all relevant attendance entries instead of missing records that may still need attention.
Original PR description
Currently attendances having 0 overtime are hidden by the filter "To approve", which is weird because managers might want to manually edit them, or approve them. task-5189190 Forward-Port-Of: odoo/odoo#232796
This fixes an issue that prevented users from saving changes to an expense category cost when vendor taxes from multiple companies were configured. Businesses using multi-company expense setups can now update category costs without being blocked by an error.
Original PR description
Steps to reproduce: - Create 2 companies - Create a tax one each - Create an expense category - Set the 2 taxes as Vendor Taxes - Select only one of the companies - Change the cost of the expense category - Try saving --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#232291
Calendar week view now shows the correct start and end times for events that span multiple days while they are being created. This avoids misleading 12 PM or midnight times on intermediate days, helping users schedule and review long events more accurately.
Original PR description
When creating an event in week view spanning over multiple days, all parts of the event display 12pm as end date (except the last one) and 00am as the start date (except the first one). This fix allow calendar views to display the correct hour in week view when the event spans multiple days. task-4700158 Forward-Port-Of: odoo/odoo#230624
This fix ensures Turkish e-invoice tax setup only runs for main companies, not their branches. It prevents duplicate tax records from being created for branch companies, reducing accounting setup errors and cleanup work.
Original PR description
Adds parent_id check on the domain to ensure taxes are only loaded for root companies. This prevents duplicate tax creation on branch (child) companies when initializing tax templates. task-5176333 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#232679
The Chilean electronic invoicing process now selects only one matching company when several share the same tax ID. This avoids processing errors for businesses with branches or duplicate company records using the same RUT.
Original PR description
Before this commit, if multiple companies shared the same RUT (VAT), for example companies with branches, searching a recipient could return more than one company record. This could lead to errors when accessing variables that expect a single record. To prevent this issue, the search is now limited to one company record. OPW-5128543 Forward-Port-Of: odoo/enterprise#98352
The update ensures automated salary package tests use a valid administrator email, preventing failures in environments without demo data. This helps keep HR salary contract checks reliable across different build setups without changing user-facing behavior.
Original PR description
the tests `test_submit_salary_package_employee` and `test_submit_salary_package` fail on no-demo builds with:
ValidationError: HR Responsible Administrator should have a valid email address
when New Contract Document Template is specified.
#### Root cause:
The `_check_hr_responsible_id` constraint in `hr_contract_salary` requires the HR Responsible to have a valid email.
On no-demo databases, `base.user_admin` has no email hence the failure.
#### Solution:
Set a valid email for `base.user_admin` in the tests setup.
[RB-233563](https://runbot.odoo.com/odoo/error/233563)