Tuesday, November 21, 2023
5 changes · master
Enhancements to existing features
Live chat now supports attachment uploads, making it easier for website visitors to share files or screenshots during a conversation. This helps support teams understand issues faster and provide better assistance without moving the conversation to another channel.
Original PR description
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
When an HR plan is duplicated, its related activities are now copied as well. This helps teams reuse onboarding or employee process plans without manually recreating the associated tasks.
Original PR description
Change behaviour of hr plan duplication - now it duplicates also activities task-3523995 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
HR records can now assign an employee’s manager from a different company, supporting real-world multi-company reporting structures. This makes employee and department management more flexible for organizations operating across multiple legal entities.
Original PR description
It was previously not possible to have as manager an employee from another company than ours, which doesn't fit some real life scenarios. task-3146167
When users finish designing a worksheet template in Studio, Odoo now returns them to the worksheet template view instead of the underlying worksheet form. This keeps the workflow aligned with what users were configuring and avoids confusion after closing Studio.
Original PR description
This commit's purpose is to open the worksheet template view instead of the worksheet form view when leaving studio. Why: The current behavior is the default one, when leaving studio, the view is the…
This commit's purpose is to open the worksheet template view instead of the worksheet form view when leaving studio. Why: The current behavior is the default one, when leaving studio, the view is the one that was being edited by studio. Solution: Create a patch for the studio navbar in order to bypass that behavior and open the view we need in our specific case. Step to reproduce: - Open fsm app - Open the configuration menu - Click on 'worksheet template' - Click on 'design new template' - Close studio The view is the form view of the worksheet, while we'd like it to be the worksheet template form view. Details of the implementation: The effective part of the changes were made in the worksheet module instead of the industry_fsm_report one. The reason is that it is a behavior that might be needed in the future for other use case (e.a in the quality_mrp_workorder_worksheet module). The navbar patch has been created to overwrite part of the close() method. When our use case is triggered instead of the general one, we force the view we need to be opened instead of the default one, then we mimic the behavior of the close method (by removing studio from the context among other things). The context of the action of the template is changed for the tasks at its creation and not only when the get_x_form_action method is called. The reason for this change is that when the studio view is reloaded, the context is discarded, and the default behavior is applied again. By adding the 2 extra keys in the context of the action at its creation (and thus in the db), we ensure that these context keys will be present on the reload. The tour test was added in industry_fsm_report since the fsm module is needed to execute the use case. task-3316535
Managers can now manage employee appraisals even when the employee belongs to a different company. Shop floor access was also tightened so users cannot edit work orders from other companies.
Original PR description
It was not possible to manage the appraisal of an employee that was not in the company of the manager. An employee can now select their manager even if they are in another company. task-3146167