Tuesday, July 16, 2024
3 changes · saas-17.2
Resolved issues and error corrections
This fix prevents an unwanted horizontal scrollbar from appearing when editing or viewing mass mailing snippets. It keeps the desktop layout from being overly compressed while making the email design area cleaner and easier to use.
Original PR description
Due to the changes made in [3916601](https://github.com/odoo/odoo/pull/170126/commits/5ee56608c0c397d03a82a8472dfdab46213f6a27) task, the flex-shrink property is causing a horizontal scrollbar to appear because the iframe is now much wider to avoid unnecessary compression in desktop mode. This fix ensures that the horizontal scrollbar is not displayed while maintaining the appropriate layout for the snippet in desktop mode. Task-4050207
This change makes Odoo's web test setup wait correctly for dialogs to appear before continuing. It helps reduce intermittent test failures in the development pipeline, improving confidence in release validation without changing user-facing behavior.
Original PR description
This commit should fix the following error which is thrown from time to time on runbot. ``` [HOOT] HootDomError: Could not find elements matching ".o_content" within 200 milliseconds at http://127.0.0.1:8069/web/assets/6bdc9d0/web.assets_unit_tests_setup.min.js:3227:8 ```
This change restores the previous email editor layout behavior to prevent unwanted horizontal scrolling. It matters because users creating mass mailings should have a smoother editing experience without layout overflow in the editor preview.
Original PR description
This PR reverts the changes from commit [170126](https://github.com/odoo/odoo/pull/170126/commits/5ee56608c0c397d03a82a8472dfdab46213f6a27) Because the flex-shrink: 0 is making the iframe overflow and introduces a horizontal scrollbar Task-4050207