Friday, December 1, 2023
6 changes · master
Enhancements to existing features
Project to-do Kanban cards now include an option to set a cover image. This makes it easier for teams to visually distinguish tasks and improve board readability.
Original PR description
### Description of the feature this PR addresses: - The current Kanban view lacks the functionality to set a cover image. Current behavior before PR: - There is no option or functionality to set a cover image in the existing Kanban view. Desired behavior after PR is merged: 1. Option Addition:** - Implement a new feature named "Set a Cover Image" in the Kanban view. task-3617640 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Odoo proxy mode now works correctly behind AWS load balancers and similar services that do not send a forwarded host value. This helps deployments behind these proxies route requests reliably without extra custom configuration.
Original PR description
### Description of the issue/feature this PR addresses: Amazon does not set the X-Forwarded-Host header for Classic and Application load balancers.…
### Description of the issue/feature this PR addresses: Amazon does not set the X-Forwarded-Host header for Classic and Application load balancers. https://docs.aws.amazon.com/elasticloadbalancing/latest/application/x-forwarded-headers.html https://docs.aws.amazon.com/elasticloadbalancing/latest/classic/x-forwarded-headers.html I have independently confirmed this with tcpdump and Wireshark. ### Current behavior before PR: Even with --proxy-mode set, the request must also have the X-Forwarded-Host header set or the ProxyFix middleware is not activated. ### Desired behavior after PR is merged: Odoo --proxy-mode works correctly for Amazon load balancers and any other reverse proxy that does not set X-Forwarded-Host. I agree with the sentiment of the FIXME comment by @xmo-odoo. Checking for the presence of HTTP_X_FORWARDED_HOST is worse than not useful; it breaks intended functionality. We should rely upon Werkzeug to inspect the headers and adjust the environ appropriately. https://werkzeug.palletsprojects.com/en/0.16.x/middleware/proxy_fix/ --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Users can now click employee and resource avatars to see a quick profile card with useful context such as employee details, skills, availability, holidays, and homeworking status. This makes it easier for teams to identify people or resources and take quick actions like sending a message without opening full records.
Original PR description
Impacted modules: - resource - hr - hr_skills - hr_holidays - hr_homeworking This commits introduces avatar card preview for resource.resource and hr.employee(.public) records in a similar way to…
Impacted modules: - resource - hr - hr_skills - hr_holidays - hr_homeworking This commits introduces avatar card preview for resource.resource and hr.employee(.public) records in a similar way to what has been done in mail for res.users records (see https://github.com/odoo/odoo/pull/121943 and https://github.com/odoo/odoo/pull/131355). This PR tries to propose an implementation as modular as possible by relying on a base component created in module resource, that is then patched to add functionalities and extended to create a component suitable for hr.employee records. The basic structure implemented is as follows: | | AvatarCardResourcePopover | AvatarCardEmployeePopover | |-----------|-------------------------------|------------------------------------------------| | resource | Created | | | hr | Patched to add employee info | Created by extending AvatarCardResourcePopover | | planning* | Patched to add planning roles | | _*see enterprise PR_ This modularity also allows to rely on a single template used for both components (which also inherits from the template used for res.users avatar card) which ensures uniformity throughout apps. Other patchs than the one listed above are created among multiple modules to add various functionalities including: - taking into account homeworking/holidays status - displaying skills on the avatar card task-3457031
A new Refused filter makes it easier for HR users and managers to find rejected time off requests and allocations. This improves visibility in the Time Off dashboard and By Employee report, reducing manual searching and helping teams review decisions faster.
Original PR description
Finding refused time offs and allocations has been difficult due to the absence of a straightforward filter option. This commit introduces a 'Refused' filter to the 'Time Off' dashboard and 'By Employee' report. Task-3579804 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
POS administrators can now enable Viva Wallet from the payment provider list in POS settings instead of installing the module manually. This makes setup faster and reduces configuration friction for businesses using Viva Wallet at checkout.
Original PR description
Previously we must install the pos_viva_wallet module manually to be able to use the Viva Wallet payment provider in the POS. This committee adds a check box in the list of POS payment providers in order to automatically install it from the POS settings. 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
Employees and resources now show a preview card when their avatar is clicked in Gantt and Planning views. This gives users quick access to key details such as planning roles, including for material resources with multiple roles, without opening full records.
Original PR description
Impacted modules: - hr_gantt - planning This commit adapts the integration of avatar card preview for resource.resource and hr.employee records in enterprise modules. Adaptation made are: - Display the preview card when avatar of employees/resources are clicked in the Gantt view - Planning roles are displayed in the preview card for resources - A preview card is also displayed for material resources that posses at least two roles. task-3457031 related-https://github.com/odoo/odoo/pull/137915