Tuesday, October 8, 2024
7 changes · saas-17.4
Resolved issues and error corrections
The Time Off dashboard link for pending requests now opens the right allocation records by including both first and second approval filters. This helps managers review all pending allocations without missing requests that are waiting for the first approval step.
Original PR description
Steps: - Install the hr_holidays module - Click on the `Pending Requests` from dashboard Description of the issue/feature this PR addresses: In the Time Off module, when clicking on Pending Requests, it opens the allocation with the only second approval filter. Fix: This PR resolves the issue by setting the default search filter to first approval along with second approval. task-4208036
This fixes an issue where adding a map block to an event description could fail when certain website menu settings were disabled. The map is now initialized in the right order, preventing save/start errors and making the website editor more reliable.
Original PR description
Since [1] when miscellaneous trackers were disabled until cookies are accepted, `s_map` generates its URL if the `iframe` is not inside the document. Unfortunately, it does it before adding the `iframe` to the element and this results in an error. This commit reorders the operations so that the `iframe` source is set only once the element has an `iframe`. Steps to reproduce: - Edit an event - Make sure to disable the event's sub-menu - Drop an `s_map` into the event's `description` field - Save => The `s_map` snippet failed upon `start`. [1]: https://github.com/odoo/odoo/commit/958b41c4acec7e1700ca4d6e0b25ee0ad2aac9f1#diff-21d1f66e41f1c6b04a9c11edf6d4ff7d9773b0bf0b4f77c8cecea173f0c0db19R22 opw-4171564
This fix ensures customer information linked to draft Point of Sale orders is loaded correctly after a page refresh. It prevents staff from having to re-enter customer details, reducing checkout disruption and duplicate effort.
Original PR description
Before this commit, there was an issue where a partner associated with a draft order might not be loaded. This could lead to users having to re-enter the customer's information if the page was refreshed. opw-4207881 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Week-based date filters now return records from the correct week when used on a Monday. This helps managers and employees avoid seeing misleading timesheet, attendance, or task information at the start of the week.
Original PR description
Some "week" date filters show records of the wrong week if the current day is Monday. This PR fixes them. Task-4219531
The point of sale product screen now shows the main product image instead of an image from one of its variants. This helps staff identify products more consistently and avoids confusion when products have multiple variants.
Original PR description
Before this commit, the product screen displayed an image of one of the product's variants, contrary to the expectation of showing the product template image. This commit corrects the behavior to ensure the product template image is displayed. opw-4234351 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Week-based date filters now show the correct records when the current day is Monday. This prevents users from seeing entries from the wrong week in planning and timesheet forecast views.
Original PR description
Some "week" date filters show records of the wrong week if the current day is Monday. This PR fixes them. Task-4219531
The signing workflow now shows the “Saved” confirmation only when the template remains active. This prevents users from being misled into looking for archived templates that are hidden by default after uploading a PDF to sign.
Original PR description
Change ----- UX improvement: a "Saved" message is displayed when leaving the template only if it is active, as it can be confusing for the user to not be able to find it (archived records are not visible by default). This happens when uploading a pdf as a document to sign. opw-4207093