Tuesday, November 21, 2023
7 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
Resolved issues and error corrections
This fix keeps the discard option available when saving a record triggers a validation error. Users no longer need to refresh the page to recover from an invalid edit, reducing disruption when correcting duplicate or conflicting entries.
Original PR description
Steps:
- Open Timeoff
- Go to Configuration
- Go to Public Holidays
- Create a new holiday
- on creating holiday on same date, validation error appears
- By clicking on save button, the error appears ,
there is no option discard records need to refresh page.
Issue:
- When the constraint is through during record edit, the save and
discard buttons are disabled, so the user cannot discord
Cause:
- Due to raise error the process stops and the button is not enabled.
Fix:
- Even if there is a raise error, the button will be enabled, so
the user can discard the record.
task-3470978Editing recurring calendar events no longer changes guests' response status to accepted unless they are the person making the update. This keeps attendance information accurate and avoids misleading confirmations for future or all occurrences.
Original PR description
Before this commit, when an user edited a recurring events in 'future_events' or 'all_events' update mode, most of the recurring events were being automatically accepted by guests (except current user) even though their state was not 'accepted' before updating. After this commit, after editing recurring events in 'future_events' or 'all_events' update mode, these events are not automatically accepted anymore by users different than the current user (who made the time update). Task-id: 3422584