Friday, August 16, 2024
5 changes · 17.0
Resolved issues and error corrections
This update ensures the two-factor authentication signup email test has a valid company sender email even when demo data is not loaded. It prevents false test failures and helps keep signup-related safeguards reliable across deployment configurations.
Original PR description
A FROM email is required in order to send an email. For this email, the source email can either come from the new user's company, or from the sending user's company. In both cases it's almost certainly going to be *the* company. The company's email comes from its partner object, which only gets one when loading the demo (via a `<function>` call in the users demo, making finding it a bit of a chore). This means without demo the totp mail send fails with somewhat unhelpful error messages (as it's on the server side of a controller call and deep into the bowels of email rendering). The fix is to just set an email on the main company before going through the signup flow, that way there is an email_from to use and everything works out. Runbot error 70541
The website setup tool now chooses a more suitable darkest color when creating a color palette from an uploaded logo. This helps generated website themes look more balanced and consistent with the intended design.
Original PR description
This commit is a backport of commit [1], adjusting the `color5` of the color palette generated after uploading a logo in the configurator. Indeed, this color was too light, even though it is supposed to be the darkest. [1]: https://github.com/odoo/odoo/commit/09fd191657372da5a5220fe82c180a3d2f5a076e Related to task-4109584
The website header sidebar now scrolls when it contains more items than can fit on screen. This prevents menu content from becoming inaccessible and improves navigation for visitors on affected websites.
Original PR description
Prior to this commit, it was not possible to scroll the sidebar header when its content overflowed. This commit adapts the header template to scroll when necessary. task-4119348 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The point of sale IoT image now includes a missing component needed for connected input devices to work correctly. This helps prevent setup or device interaction issues for businesses using IoT hardware with Point of Sale.
Original PR description
IoT image was missing `xinput` dependency. Required by: [https://github.com/odoo/odoo/pull/174009](https://github.com/odoo/odoo/pull/174009)
Opening an existing calendar event from the calendar popover now keeps the original action context. This helps calendar forms behave consistently, including when custom buttons or flows rely on that context.
Original PR description
This commit restores the context passing that was lost in the rework of `calendar.event` quick create #114827.
Current behavior before PR:
Action context is not passed to the `calendar.event` form view when accessed via the calendar popover `View` button. The `New` button above the calendar view passes the context as expected.
For example: this button opens the calendar view but the keys `example_context`, `active_id` and `active_model` are not available in the context when an existing calendar event is then viewed in a form. `<button name="calendar.action_calendar_event" type="action" context="{'example_context': True}"/>`
Desired behavior after PR is merged:
Action context is available in the `calendar.event` form view when the form is accessed via the calendar popover form.
---
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr