Daily updates from Odoo
Tuesday, July 16, 2024
5 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
Fixes an error that prevented users from printing invoices for Saudi companies. This ensures confirmed invoices can be printed normally, avoiding disruption in billing and compliance workflows.
Original PR description
When the user tries to print the invoice for the Saudi company, a traceback will appear. Steps to reproduce the error: - Install "l10n_sa" - Switch to "SA Company" - Create a new invoice > Confirm > Print the invoice ``` Error: A traceback appears: "AttributeError: 'res.lang' object has no attribute '_lang_get_direction'" ``` https://github.com/odoo/odoo/blob/382e79857535cc0a404a8f70fbef071b79afea86/addons/l10n_gcc_invoice/views/report_invoice.xml#L285 Here, "_lang_get_direction" method is still used, this method is replaced by "_get_data" method in commit odoo@9f5470f. sentry-5596797662 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Sharing a public project in read-only mode with a portal user now also grants access to the project's tasks. This aligns portal user access with public share-link behavior and prevents invited users from seeing an incomplete project page.
Original PR description
To reproduce the bug: - Have a project with no customer on it - In the project setting switch the 'Visibility' to 'Invited portal users and all internal users (public)' - Share the project with readonly access mode with a portal user (Joel) - Sign in as Joel and check the project page We can see that contrary to the page a public client get with using the share link with access token, we can't see the project tasks. More specifcly we need to be followers of these tasks to see them. This fonctionnement is already implimented in the case of adding follower from the chat section instead of the Share button, furthermore it means that the public user. This commit aim to change that behavior and make the share with readonly mode imply following all the project task. opw-4038154
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