Monday, March 31, 2025
8 changes · saas-18.2
Resolved issues and error corrections
Product rating information is now left out of SEO data when ratings are turned off for the online store. This prevents search engines from seeing or displaying rating details that are not enabled on the website, keeping public product information consistent with store settings.
Spreadsheet pivot tables now show the actual field name when a measure cannot use an aggregator. This replaces an unhelpful technical placeholder with a clearer message, making it easier for users to understand and correct the issue.
Original PR description
The error message displayed when the measure was on a field with no aggregator was generated was wrong. It was generated with a stringified object `[object Object]` instead of the field name. 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 prevents an error when saving an attendance record that has no check-in time. It helps HR users complete or correct attendance entries without encountering a system traceback.
Original PR description
When user tries to create an attendance without check in, A traceback will appear. Steps to reproduce the error: - Go to Attendances > Create a new attendance - Remove Check In time > Save & Close…
When user tries to create an attendance without check in,
A traceback will appear.
Steps to reproduce the error:
- Go to Attendances > Create a new attendance
- Remove Check In time > Save & Close
Error:
```
File "/home/odoo/src/odoo/saas-18.2/addons/hr_attendance/models/hr_attendance.py", line 98, in _compute_overtime_hours
att: self._get_day_start_and_day(att.employee_id, att.check_in)
File "/home/odoo/src/odoo/saas-18.2/addons/hr_attendance/models/hr_attendance.py", line 268, in _get_day_start_and_day
if not dt.tzinfo:
AttributeError: 'bool' object has no attribute 'tzinfo'
```
When user creates attendance, ``_compute_overtime_hours`` method will be called. https://github.com/odoo/odoo/blob/74be92ad3b26c60ccb222492e5fb770174f95d11/addons/hr_attendance/models/hr_attendance.py#L95-L100
Here, ``_compute_overtime_hours`` method will call ``_get_day_start_and_day``
without checking ``check_in``.
So, It will lead to the above Traceback.
sentry-6452618270
---
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-prThe expense search filter has been fixed after it stopped working following recent expense report changes. Users can once again find and filter expense records as expected, reducing friction in daily expense management.
Original PR description
The search filter was broken since the refactoring of expense reports. This was due to a wrong operator. task-4669889 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This fix makes a Gantt view test more stable by positioning the timeline item away from the screen edge before resizing it. This prevents unintended auto-scrolling during the test, reducing false failures without changing user-facing behavior.
Original PR description
Before this commit: The test consist in extending a pill using drag & drop mouse event. When the mouse drag too close from the side of the gantt view, it will automatically scroll the view to allow to extend to further invisible month = side scrolling This was the case here as the browser window in test mode is set to 1366 x 768 which was making the pill very close from the side of the window. When the mouse drop happen (after the drag) this could end up being on a another month that the expected one due to the automatic side-scroll.  After this commit: We initially scroll the gantt view so that the pill is centered to avoid side-scrolling to trigger rb-145661
This update removes a duplicate access rights entry in the Belgian POS certification module. It helps prevent database upgrade problems while keeping the same permissions in place.
Original PR description
Before this commit, two access rights records had the same id in the ir.model.access.csv file. This caused issues when trying to upgrade a db from previous versions. As the two records had the same rights, we remove the one linked to the manager group.
The document details panel now displays fields with proper alignment. This improves the visual consistency of the Documents app and makes the panel easier to read for users.
Original PR description
**Before this fix:** https://tinyurl.com/2y5zluop **Technical:** The 'name' field in the documents became translatable(from commit https://github.com/odoo/enterprise/commit/9efa58c442e1892fef3fa5ce3901d697de22beaa), causing the 'o_field_translate' to be applied to the name input, including the padding style on the right. **After this fix:** Fields in the document details panel will be properly aligned for an enhanced UI. Task-4636414
This fixes a mistaken internal reference used by the Payroll Expense feature when checking payroll user access. It helps ensure the feature relies on the correct payroll permissions and avoids errors caused by looking in the wrong place.
Original PR description
Fix incorrect reference to `group_hr_payroll_user`, as it is defined in `hr_payroll`, not `hr_contract`.