Monday, May 26, 2025
4 changes · master
Resolved issues and error corrections
Fixes an issue where changing an image in the editor could cause its decorative SVG shape to disappear. This helps website editors keep intended image styling intact when replacing or updating media.
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
The website setting for showing or hiding the scroll-to-top button now applies correctly. This restores expected control for website editors and prevents confusion when configuring page behavior.
Original PR description
The "Scroll Top Button" toggle did not have any effect (at the end of the initial refactor). Website refactor: odoo/odoo#187419
This fixes an issue where the website editor could show an editing hint inside parts of a page that cannot be edited, such as certain header menu content. Users now get a cleaner and less confusing editing experience because hints only appear where editing is actually allowed.
Original PR description
A non-editable element should not show a hint for edition. This happened in the following case: 1. Open the website editor in edit mode 2. Click on the header 3. Change the header template to "Menu with Search bar" (the 6th one) 4. Click to the left of "Free Returns and Standard Shipping" in the menu 5. -> A "List" hint appeared.  This PR fixes the issue by checking if the element is editable before showing the hint. Note: will have to be adapted to the new definition of "editable node" when task-4809282 is merged. --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Users who have already completed the website setup are now sent directly past the configurator using the standard flow. This avoids unnecessary setup screens and keeps website access smoother after configuration is finished.
Original PR description
**Purpose:** The Forward-port for [PR](https://github.com/odoo/odoo/pull/197593) is already merged into master, so this PR aims to adapt the redirection logic using the skipConfigurator method. In that PR, users were redirected to the home screen if configurator_done was True, and redirection was handled using doAction(redirect_url), where redirect_url was a dictionary containing the next action, fetched from the button_choose_theme method. We didn't use the skipConfigurator method earlier because, in stable branches, skipConfigurator method incorrectly redirect to the theme selection page instead of the home screen. This issue is now fixed in the master branch, so we can use the skipConfigurator method in master. **Key Changes:** If current_website.configurator_done is True, we now simply call skipConfigurator. This PR aims to adapt the redirection logic in master and utilize the skipConfigurator method. task-4555467