Thursday, October 6, 2022
6 changes · master
Resolved issues and error corrections
The confirmation window shown when removing a link preview now displays at the correct size instead of appearing vertically stretched. This small visual fix improves the user experience in messaging without changing functionality.
Original PR description
Prior to this commit, the size of the modal for removing a link preview was stretched vertically. This commit fixes this issue. -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Fixed an issue that could cause an error when clicking a user avatar in the Gantt view after installing Field Service. This improves reliability for users navigating schedules and employee assignments.
Original PR description
Steps to reproduce: -Install industry_fsm -Go to Gantt View -Click on the user avatar task-2960247
Allocated time now reflects the full scheduled shift, even when the employee or resource was created after the shift start time. This prevents confusing undercounts during onboarding and also uses the resource calendar when no contract exists.
Original PR description
Steps : \- On a new DB (no demo data). Say created at 15:00. \- Go to planning. \- Add a shift for today. \- Set the dates from 08:00 to 17:00. Issue : The 'Allocated Time' = 02:00. Cause : We used…
Steps : \- On a new DB (no demo data). Say created at 15:00. \- Go to planning. \- Add a shift for today. \- Set the dates from 08:00 to 17:00. Issue : The 'Allocated Time' = 02:00. Cause : We used to count from the resource creation min to the departure max. So, in this case, not from 08:00, but from 15:00. While this might seem logical, it confuses users in onboarding. Fix : Calculate the whole time, regardless of the resource lifespan. Notes : \- Similar issues solved with this commit : > Once the shift validated, the avatar progress bar uses the same allocated time. > Same in Project Task gantt view. \- When contract is installed, if the resource does not have a contract, the Allocated Time = 0. Now, it is calculated from the resource calendar. task-2983993 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
This update keeps spreadsheet-related document features working correctly after a recent spreadsheet engine change. It helps maintain reliable spreadsheet actions, pivot behavior, and chart-related tests without introducing new business functionality.
Original PR description
…eadsheet update
Updates internal tests for Project HR scheduling so they match the latest way worked hours are calculated. This helps keep quality checks reliable and reduces the risk of false test failures after related platform changes.
Original PR description
The community commit modifies the way worked hours are calculated. This commit adapts some tests to it. task-2983993 related: https://github.com/odoo/odoo/pull/100295
This update adapts spreadsheet-related features to a recent underlying spreadsheet change. It helps keep document spreadsheets, pivot displays, charts, and spreadsheet editing behavior working reliably after the update.
Original PR description
…eadsheet update https://github.com/odoo/odoo/pull/102262