Monday, October 14, 2024
4 changes · saas-17.4
Resolved issues and error corrections
Non-accounting users will no longer see bank and miscellaneous journal setup prompts they cannot use. This keeps dashboards cleaner and avoids confusion by showing configuration actions only to users with the right permissions.
Original PR description
…ountant *: account_reports, account_online_synchronization Configuration steps on empty Bank, Misc journals should not be shown for users that do not have the Administrator/Accountant rights. They don't have the necessary rights to execute those actions anyway. This commit hide the configuration steps for non-accountant users. task-4149584
Fixed an issue in Marketing Automation where opening an email template in full-screen mode could leave the activity setup window layered on top of it. This prevents accidental closure of the whole activity and makes campaign email editing smoother.
Original PR description
Steps to reproduce: 1. create a marketing campaign 2. Add an Activity 3. Select email as the activity type and create one 4. Select a template and click on full-screen mode in the snippet 5. The activity wizard will overlap the email template 6. Closing it will close the whole activity Technical Reason: When we switch to full screen, the 'o-overlay-item' class has a higher z-index priority. After this commit: The activity wizard will not overlap with the email template. Task-4178640
Shared document links can now preview videos correctly in Chrome. The change keeps the existing protection against loading unrelated content while allowing the video file itself to load from the same Odoo site, avoiding a blocked preview experience for users.
Original PR description
Before, the content_security_policy was set to block all content. That forbids chrome from loading video preview. After this commit we allow media from the same origin. Reproduce --- - -i documents - open video via sharable link from documents - BUG: the preview isn't opening in chrome ``` Refused to load media from 'URL' because it violates the following Content Security Policy directive: "default-src 'none'". Note that 'media-src' was not explicitly set, so 'default-src' is used as a fallback. ``` opw-4192598
The marketing automation template editor now adjusts its content height to fit the dialog properly. This removes an unnecessary extra scrollbar and makes choosing and editing email templates smoother for users.
Original PR description
How to reproduce ----------------- 1. Inside the marketing automation module, enter any campaign. 2. Click on the title of any of the hierarchy card. 3. From the dialog box, type a new name and then select `Create and edit`. 4. In the `Create Marketing Template` dialog box opened, select the `Event Promo` template. 5. Scroll on the outer scroll bar of the dialog box and you will notice the snippets' box height does not extend to the bottom. Issue ----- - The height of the main marketing template is not set, hence an extra scroll bar appears on the dialog box.  Reason ------ - The template comes directly from the `body_arch` field, hence carrying it's own height. Fix --- - We set the `height` to `auto`, so it adjusts according to the dimensions of the dialog box. Task - 4137980