Thursday, August 22, 2024
9 changes · saas-17.4
Resolved issues and error corrections
This fixes an internal mail test setup so it can run successfully even when sample demo data is not installed. It helps keep automated quality checks reliable across more deployment and testing configurations, with no direct change for end users.
Original PR description
runbot-70915
This fix makes inbox notification processing happen in a consistent order every time. It reduces random test failures and helps ensure message notifications behave predictably for users.
Original PR description
Adding sort to always process the partners in the same order. Confirmed to resolve the issue as adding reverse=True makes the test crash systematically instead. runbot-70612 runbot-74125
Opening Customer Ratings from a project could crash when customer ratings were enabled. This corrects the filter used by that menu so users can access project rating information reliably.
Original PR description
Issue ----- [project, sale_timesheet] 1. Activate "Customer ratings" in Project settings. 2. On Project kanban view > Open dropdown of a project > Customer Ratings > Traceback. Change ----- Small correction of 72f98a5925512a19fc084f1fc207f221e47e856e, the correct filter is the one defined here: https://github.com/odoo/odoo/blob/72f98a5925512a19fc084f1fc207f221e47e856e/addons/project/views/rating_rating_views.xml#L141 opw-4111790
This fix restores the expected spacing in quick create cards within kanban views. It improves readability and visual consistency for users adding new records from a kanban board.
Original PR description
This commit's purpose is to fix the display of quick create card in the kanban view. Due to this commit : https://github.com/odoo/odoo/commit/206f3d4856a3da8c12088b49df6a01675a0c3c62 a lot of space were missing. This fix set the spacing back. task - 4038168 version saas-17.4-master
This fixes a missed internal import in the HR module after a previous cleanup changed what mail tools expose. It helps prevent errors when loading or using HR functionality, with no expected change to day-to-day workflows.
Original PR description
Followup of 5057ea17fef0, update missed import --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Vendor bills created from multiple selected documents now open with normal navigation between the generated bills. This fixes a case where users were stuck on a single bill because a duplicate-check view took priority over the standard bill view.
Original PR description
Steps to reproduce: - Install the documents_account module - Documents > Finance - Select multiple documents - Create vendor bills - On a bill's form view pager is 1/1 We should be able to use the pager to navigate between the bills here, but the default view is an override meant to show potential duplicates. Since duplicates can be of different record types, it isn't technically possible to use the pager on them. This behavior is overly specific for a default view hence why the priority is taken down so low. opw-4104435 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This fixes a small scheduling issue where planned shift times could incorrectly show or calculate as 60 minutes instead of staying within valid minute values. It helps avoid edge-case errors when using planning templates with start or end times very close to the next hour.
Original PR description
round() on the fractional part of shift_template.end_time/start_time can lead to problems when the result is very close to 1.0 (e.g., anything greater than 0.994). Specifically, round() can cause the fractional part to round up to 1.0 (so 60 minutes), which is not wanted. We can either set it to 59 as done here, or 0 and add 1 hour to the hours.
When customers submit helpdesk tickets with attachments through the website, the system will no longer change the message visibility setting behind the scenes. This preserves the intended communication behavior and avoids unintended changes to how ticket updates are classified.
Original PR description
Before this commit, when the helpdesk ticket is created by the website form and need to insert an attachment, the subtype used is altered to be able to let the portal user to see it instead of a using a non internal subtype. This commit reverts the changes made in d9b06557baf692f707ff8b75106df6b67c6bc523 to avoid altering the subtype.
This fix ensures WhatsApp-related automated checks can run successfully even when sample demo data is not installed. It helps keep validation reliable across more deployment and testing setups, reducing false failures in the release process.
Original PR description
runbot-70776