Daily updates from Odoo
Saturday, November 8, 2025
1 change · 17.0
Resolved issues and error corrections
User avatars in the mail interface will now display with the correct crop and proportions, instead of appearing stretched or distorted. This small visual fix improves the consistency and polish of the chat and discussion areas in Odoo 17.0.
Original PR description
Before this commit, user avatars in the mail UI were not displayed using the `object-fit: cover` style, causing distorted or improperly scaled images. This issue is specific to version 17.0 — both versions 16.0 and 18.0 correctly apply the `cover` mode. After this commit, avatars are now rendered with `object-fit: cover` to ensure proper aspect ratio and consistent display across versions. ex bad ui before <img width="365" height="49" alt="Screenshot 2025-11-08 at 11 39 13 AM" src="https://github.com/user-attachments/assets/7195c594-12c3-4c67-8001-99d1b9e2eebb" /> after <img width="350" height="50" alt="Screenshot 2025-11-08 at 11 38 37 AM" src="https://github.com/user-attachments/assets/500c9f39-abd9-42b7-aba6-7a56e01cd6e2" /> --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr