Tuesday, October 1, 2024
5 changes · saas-17.4
Resolved issues and error corrections
This update fixes broken automated tests caused by assumptions about unavailable fields and patching behavior. It helps keep Odoo's quality checks reliable without changing end-user functionality.
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
Fixes how profile images appear across Discuss and live chat so non-square photos are cropped neatly instead of being stretched or squeezed. This makes conversations look more polished and consistent for users without changing functionality.
Original PR description
Without it, images with ratio different than 1 had width or height either shrunk or expanded, which definitely makes these avatar look hideous. This commit fixes most of them. Note that the ones with `.o_avatar` have implicitly `o_object_fit_cover` so this was unnecessary to add them. Before / After <img width="51" alt="Screenshot 2024-10-01 at 00 51 05" src="https://github.com/user-attachments/assets/bee81b6c-b3cc-4610-b855-3a66f6defff9"> <img width="55" alt="Screenshot 2024-10-01 at 00 50 44" src="https://github.com/user-attachments/assets/f3d1937c-3a3a-4a8c-aa01-d91e25bceaac"> Before / After <img width="1280" alt="Screenshot 2024-10-01 at 00 51 40" src="https://github.com/user-attachments/assets/983aa74f-2904-4037-a373-517b13a014d9"> <img width="1280" alt="Screenshot 2024-10-01 at 00 49 40" src="https://github.com/user-attachments/assets/4227137a-aab4-48be-bbf0-803704cb9575">
Field Service tasks now correctly show only Field Service projects in the project selection field. This prevents users from accidentally linking tasks to unrelated projects, keeping operational data cleaner and aligned with Field Service workflows.
Original PR description
Steps to Reproduce: - Open Field Service app - Open any task - Click on the Project Field Issue: - You can select any project which should not be possible because we dont use non fsm projects. Reason: - Change in structure of form. - A new label is added before the project field which makes the current xpath being used to become obsolete. Fix: - Updated the xpath. Issue from https://github.com/odoo/odoo/pull/131015 task-4204896
The barcode picking screen now respects the setting to hide reserved lot or serial numbers when there is only one line and it has not been picked or scanned yet. This prevents warehouse users from seeing lot details that should stay hidden under that operation type configuration.
Original PR description
When 'Show reserved lots/SN' is unticked on the operation type, we don't want to show the lot/serial name when there's only a single line and it's not picked/scanned yet.
This fixes failing automated tests for inter-company sales and purchase workflows by avoiding an unnecessary currency field update. The change helps keep quality checks reliable without changing business behavior for users.