Daily updates from Odoo
Friday, March 14, 2025
9 changes
1 change
Resolved issues and error corrections
Performance tests now allow test emails to be sent safely to a dummy server, keeping email-related checks realistic without contacting real recipients. This helps maintain confidence in appointment, knowledge, activity, and WhatsApp performance behavior after recent test-environment changes.
8 changes
Resolved issues and error corrections
Fixes a typo in the Romanian electronic invoicing workflow so failed invoice sending is recorded with the correct status. This helps ensure failed submissions are detected and handled consistently instead of being missed due to an invalid status name.
Original PR description
It should be `invoice_sending_failed`, we don't have `invoice_sent_failed` :D (for more info see `ciusro_document.py`, the `state` selection field) task-None
Fixes a document layout issue where invoice titles could wrap onto two lines when using the Bubble template for Indian companies. This keeps printed invoices cleaner and more professional-looking without changing invoice content.
Original PR description
### Steps to reproduce: - Install "l10n_in" and switch to an Indian company - Settings > Document Layout > Configure Document Layout and select the "Bubble" layout - Create a customer invoice and print it - The title is on two lines ### Cause: Adding a `t-field` for the journal name seems to break the layout. ### Solution: Add `text-nowrap` on the layout_document_title to force the display on one line. opw-4496715
Spanish TicketBAI identification now correctly treats NIE numbers starting with X, Y, or Z as freelancer IDs. This helps avoid misclassifying freelancers as companies when processing Spanish electronic invoicing data.
Original PR description
In order to determine if the vat provided is for an autonomo (freelancer) or a juridical person (company), we checked 8 digits and a letter for the freelancer, but NIEs that start with X/Y/Z are also freelancers, so we added that option in the regex. opw-4616635 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
Users without Time Off management rights can now search by leave name in the Time Off overview without encountering an access error. This fixes a permission issue that blocked normal overview searches for regular employees.
Original PR description
Before this commit, making a search on name in the overview of the Time Off application without Time Off rights would give an access error. To reproduce: - Connect with a user without Time Off rights (Marc Demo for example) - Go on Time Off > Overview - Make a search on the name - An access error is raised while it shouldn't This commit changes the _search_name method by removing the explicit call to `leave_id` in the domain part not restricted to officers.
This fixes a small typo that could prevent the phone validation fallback from working when the preferred import is unavailable. It helps keep phone number region detection reliable in edge cases without changing normal user workflows.
Original PR description
Before this commit, since the introduction of the `phone_get_region_data_for_number` function (2d027ad), there was a fallback in case the import failed. However, the fallback method had an incorrect name.
The barcode app no longer shows the Sign button when working with batch delivery orders, because batch pickings cannot be signed. This prevents users from hitting an error during validation and keeps the workflow clear.
Original PR description
Steps to reproduce the bug: - Enable “Signature” option in inventory settings - Go to barcode → delivery orders > batch: - select any batch: - settings: - Operations > sign: - Sign and validate Problem: A traceback is triggered: “ValueError: Invalid field 'signature' on model 'stock.picking.batch'” Solution: It is not possible to sign a batch picking, so the button should not displayed. opw-4610471
The Colombian reports now correctly expand all report lines when users choose the unfold all option. This prevents missing detail in reports and makes it easier for users to review complete Colombian reporting data.
Original PR description
The unfold all options wasn't working correctly in the colombian reports since we added the line, and we only checked if the line was unfolded manually. Now we also check if the unfold all options is activated opw-4621274
The signing workflow now waits for document pages using the correct page area, preventing an automated HR contract signing check from crashing. This improves reliability for sign-related HR contract processes without changing user-facing functionality.
Original PR description
In this commit, we fix the following error that can occurs in tour hr_contract_salary_tour_hr_sign.
```
AssertionError: The test code "odoo.startTour('hr_contract_salary_tour_
hr_sign', {"stepDelay": 0, "keepWatchBrowser": false, "debug": false,
"startUrl": "/", "delayToCheckUndeterminisms": 0})" failed
UncaughtTypeError: Cannot read properties of null
(reading 'querySelector')
```