Friday, August 8, 2025
3 changes · 17.0
Resolved issues and error corrections
This fix makes an automated mass mailing editor test wait until the editor is fully loaded before trying to drag content into it. It reduces random test failures, helping keep quality checks stable without changing user-facing behavior.
Original PR description
…tour Steps to reproduce ================== Run the test `test_07_mass_mailing_code_view_tour` a bunch of times. It will eventually fail. Cause of the issue ================== It fails on the step Drag the "Title" snippet from the design panel and drop it in the editor When it does, the targetPosition.y is equal to 0 https://github.com/odoo/odoo/blob/b3c8320c5ee289136d645c2058656b622f92be7e/addons/web_tour/static/src/tour_service/tour_utils.js#L383-L386 => the drag_and_drop does not move the pointer to the target position properly Solution ======== We need to wait for the editor to be properly loaded runbot-104287 Forward-Port-Of: odoo/odoo#221239
Fixed an error that could occur when calculating geolocation for a contact without a name. Users can now compute addresses for such contacts without seeing a crash, and the message shown is clearer when no location match is found.
Original PR description
<b>Steps to reproduce:</b> 1. Install base_geolocalize and Contacts > Go to Contacts. 2. Create a new contact or select an existing one (Individual). 3. Go to Contacts & Addresses > Add, leave all…
<b>Steps to reproduce:</b>
1. Install base_geolocalize and Contacts > Go to Contacts.
2. Create a new contact or select an existing one (Individual).
3. Go to Contacts & Addresses > Add, leave all fields empty, then Save & Close.
4. Open the newly created sub-contact > Partner Assignment > Geolocation
5. Click "Compute based on address".
<b>Issue:</b>
- Traceback is raised during geolocation computation if the sub-contact has no name Instead of Displaying.
<b>Cause:</b>
- If a partner does not have a name, the value is False.
- The join() operation results in a TypeError because False cannot be concatenated with strings.
<b>Problematic line:</b>
`'message': _('No match found for %(partner_names)s address(es).', partner_names=', '.join(partners_not_geo_localized.mapped('name')))`
<b>Solution:</b>
- Replaced `name` with `display_name` to ensure all elements passed to`join()` are strings.
This also improves readability in the UI when identifying partners without proper names.
opw-4930258The Swedish SIE4 import now avoids creating accounting entries when an imported move contains no usable transaction lines. This prevents invalid empty entries from appearing in Odoo and keeps accounting data cleaner.
Original PR description
The aim of this commit is making sure that we don't import move without transaction in it. In SIE4, we can have moves with BTRANS and RTRANS tags that we are ignoring. It means that we could have move without any move lines. It's not an expected behavior in Odoo. This commit checks that the move data are created only if we have lines for that move. no task id