Wednesday, May 14, 2025
5 changes · saas-18.2
Resolved issues and error corrections
This fix makes an automated user-switching test wait until logout is fully complete before continuing. It helps prevent false test failures caused by faster test execution, improving confidence in release validation without changing the user experience.
Original PR description
Since the changes in the tour engine, steps are slightly faster. This commit adds a step in the user switch tour to wait to be actually logged out before continuing runbot-error-135106 runbot-error-135070 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
Indian e-invoice generation now handles invoice lines without a product description, such as round-off lines. This prevents avoidable submission errors and helps users send e-invoices successfully without manually adding unnecessary descriptions.
Original PR description
Issue ----- Sending the E-Invoice fails with an error when the Product Desc is missing. Steps to reproduce ----- -Go to Accounting > Customers > Invoices -Create an invoice with a line item such as "Round Off" (no product description) -Send for E-invoice. Fix ---- -This commit adds a validation check to ensure that 'PrdDesc' is only added to the json_payload if `line.name` is present, preventing the error during e-invoice generation. ---- Tickets: opw-4788391
This fix improves how Odoo detects a lost connection when a user goes offline, so it no longer mistakenly treats a page as outdated. This helps avoid unnecessary refresh warnings and keeps the user experience smoother after connectivity changes.
Original PR description
The outdated page watcher checks whether bus notifications were missed when the bus reconnects after an unexpected disconnection. To do so, it checks if the last known notification id is still in the bus table. When the bus disconnects, the last notification id is saved. However, disconnect event is not correctly sent when switching from online to offline. This commit fixes this issue. follow up of https://github.com/odoo/odoo/pull/208625 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
When users post a message that contains only file attachments, the message preview now immediately shows those attachments instead of briefly displaying a misleading removed-message notice. This makes the chat experience smoother and avoids momentary confusion after uploading files.
Original PR description
Before this commit, when posting a message containing only files, the message list shows the new message with "this message has been removed" for a very short time. This happens because the pending message was considered empty, due to lack of attachments in pending message. The pending message is the optimistical behaviour of showing the message that is being posted immediately on UI before receiving response data from server. This commit fixes the issue by showing attachments of just sent message in the pending preview. Task-4776054 Posting a message with Avatar.jpg: Before / After  
Belgian fiscal POS now avoids failures when an IP address is unavailable during automated or background session startup. Sale details logic also only applies blackbox-specific handling to blackbox configurations, reducing unintended effects.
Original PR description
Before this commit, when pos_blackbox_be was installed, the pos tests were failing because most pos test called `_run_test` which is calling `_satrt_pos_session` which is calling `open_new_session` which is calling `set_opening_control`. This makes that when calling `set_opening_control`, the request is not bound and we cannot do `request.geoip.ip`. We now check that the request is bound in `_log_ip`: if it is not, we return, if it is, we resolve the ip on the fly. We also add a check to the sale details data computation method `get_sale_details` override in pos_blackbox_be to check if the config is a blackbox one. original commit: df796f3770ff2fdaf553cdfb4206f65c7b371189 Community PR: https://github.com/odoo/odoo/pull/209584