Friday, March 20, 2026
4 changes · 17.0
Resolved issues and error corrections
This update fixes a technical error that prevented the generation of the 281.10 report for Belgian payroll companies. The issue stemmed from a missing vehicle ID in the payslip data, which was resolved by recalculating vehicle information using payslip line IDs. This ensures the 281.10 report can now be reliably generated.
Original PR description
[FIX] l10n_be_payroll: fix traceback in 281.10 sheets
Bug reproduction: Go to any version>=17.0 -> select belgium company -> install only belgium payroll (don't install fleet one) -> fill in niss, certification level, address, Time in R&D -> generate payslip and confirm it -> try to generate 281.10 report -> traceback
Bug cause:
1 - In traceback it was saying payslip doesn't have vehicle_id, in 281.10 sheet preparation (in function _get_atn_nature), there is a term like that
2 - Payslip doesn't have it because fleet module is not there.
Bug solution:
1 - Instead of checking the payslip has vehicle like that, we calculated it by using paylsip line_ids
2 - If the code ATN.CAR is there and the total of it is not zero, which means this payslip has a vehicle indeed.
task - 6037206This update resolves a crash that occurred when users attempted to print from the dashboard. The fix addresses an issue in the spreadsheet and dashboard action modules, ensuring the print function now operates reliably. This improves the usability of the dashboard for users who need to generate and share reports.
Original PR description
Description of the issue/feature this PR addresses: Current behavior before PR: Desired behavior after PR is merged: --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update optimizes how timesheet holiday calculations are refreshed. Previously, updates to employee calendars triggered unnecessary timesheet regeneration, which slowed down the system. Now, the system only updates timesheets when a calendar change actually occurs, improving performance and reducing unnecessary system activity.
Original PR description
Reference: opw-5938425 …imesheet regen When hr.employee.write receives resource_calendar_id, we now compare old and new calendar IDs per employee and only refresh public-holiday timesheets for employees whose calendar actually changed. This avoids needless delete/recreate churn on no-op writes while preserving the same behavior for real calendar changes. Description of the issue/feature this PR addresses: Current behavior before PR: Desired behavior after PR is merged: --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update fixes a potential issue where VAT validation errors against the VIES service would display technical tracebacks instead of user-friendly messages. The change adds a global error catch to ensure robustness and logging, preventing disruptions when VIES server issues occur. This improves the user experience and system stability.
Original PR description
When an error occurs during VAT validation with the VIES service, we currently try to catch specific exceptions to display a message in the contact chatter. However, not all exceptions are handled, which can lead to a traceback instead of a user-friendly message. For example, `suds.WebFault` is not currently caught. Step to reproduce: - Ensure that in `new_get_soap_client`, you don't use the Zeep library, but instead use the `suds` library to create the client. - On a contact, enter a VAT number and try to save. - Due to the recurrent VIES server issues, you will likely get a `suds.WebFault` exception (MS_MAX_CONCURRENT_REQ) which is not currently caught, leading to a traceback. This fix introduces a global exception catch to ensure robustness, while logging the error for debugging purposes. This also ensures compatibility if `new_get_soap_client` is modified to use a different library or client in the future. opw-6007991