Thursday, March 13, 2025
2 changes · saas-18.2
Resolved issues and error corrections
Fixed an issue where additional product images added in the website editor could fail to appear in the product page carousel. This ensures shoppers can see all non-video product media as intended, improving product presentation and confidence while browsing.
Original PR description
Versions -------- - saas-18.2+ Steps ----- 1. Go to a front-end product page; 2. open editor; 3. add extra product image; 4. save; 5. try to view extra image in carousel. Issue ----- Image doesn't get displayed. Cause ----- Commit 2bcff9dda3e45 added support for adding videos as extra media. To decide whether an object is a video, it currently just checks if it has a `video_url` key, but not whether it has an actual value. Solution -------- The intended code suggested in a review (https://github.com/odoo/odoo/pull/189396#discussion_r1914977614) was added in a `t-elif` branch instead of replacing the `t-if` code. Using this branch would fix the issue. opw-4625008
This change adds an automated check to help ensure the live chat support page continues to load correctly in standalone scenarios. It reduces the risk that future dependency changes silently break live chat for visitors using that setup.
Original PR description
Maintaing several bundles can be error prone. Live chat tests exist for external and backend bundles but not for the CORS one. This is an issue as adding a new dependency can break the CORS live chat without any way to notice it (e.g. adding a dependency in mail that is loaded in the website_livechat context but not in the standalone one). This PR adds a simple sanity check tour to the support page, forcing the CORS bundle. While it's not a fully realistic CORS scenario it will be enough to catch simple dependenc mistakes. 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