Wednesday, February 21, 2024
8 changes · master
Resolved issues and error corrections
This update prevents spreadsheet pivot names from being read from an internal setup area before the related data is fully ready. It helps keep pivot labels consistent in places like menus and reduces confusion for future spreadsheet updates.
Original PR description
The name property of a pivot should be accessed through the getter `getPivotName` or `getPivotDisplayName` instead of accessing the name from the pivot runtime definition. So, to avoid confusion, the name property is removed from the pivot runtime definition. 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
The messaging menu now shows the newest message requiring attention instead of an older one. This helps users see the most recent customer or team updates promptly and reduces confusion when multiple messages arrive.
Original PR description
Since [1], needaction messages are computed. In order to maintain their order, a `sort` function is passed to the field definition. This sort function is incorrect as it:
- rely on incorrect field ("lastInterestDt")
- is actually the opposite of what we want. As a result, the messaging menu displays the oldest needaction message instead of the latest.
This PR reverses the sort function and make it rely on the message "id" so that needaction messages are sorted in descending order.
Step to reproduce the issue:
- Log in as admin
- Go to profile
- Enable handling of email in Odoo
- Go to a chatter with demo
- Send two messages mentionning admin
- Open the messaging menu: the latest message displayed is the first you sent
[1]: https://github.com/odoo/odoo/pull/153005
task-3749139This update makes Odoo's internal web testing tools more reliable and easier to configure. It fixes several issues that could cause incorrect test results, improves test run controls, and removes limited support for an unreliable editing scenario to reduce errors.
Original PR description
Part 1: https://github.com/odoo/odoo/pull/152930 Part 2: https://github.com/odoo/odoo/pull/153018 Part 3: https://github.com/odoo/odoo/pull/153023 Part 4: https://github.com/odoo/odoo/pull/153203 Part 5: https://github.com/odoo/odoo/pull/153425 Part 6: https://github.com/odoo/odoo/pull/153700 Part 7: https://github.com/odoo/odoo/pull/154054 This pull requests brings the following changes to HOOT and the test helpers: - added "manual" and "loglevel" options in the UI config dropdown - fixed incorrect behaviours with some matches in `expect.js` - fixed global mockable objects - dropped support for elements with `contenteditable="true"` --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update makes mail message actions work more reliably when optional conversation details are not available. It helps prevent small interface errors in messaging features, improving stability without changing user workflows.
Original PR description
Message props `thread` is optional. This PR adds some missing guards.
This update removes a test-only change that interfered with Odoo's internal timing system. It helps keep web interface tests reliable without changing how users experience the application.
Original PR description
Internally HOOT use a custom timer for all related timing stuff. So we can't override `setTimeout` with our custom code. This commit removes lines where `setTimeout` was changed. task-3705027 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Pivot tables now apply the same muted sample-data styling to horizontal scrollbars when sample data is shown. This keeps placeholder views visually consistent and avoids drawing unnecessary attention to the scrollbar.
Original PR description
This commit fixes an issue where the eventual horizontal scrollbar in pivot table would not receive sample data styling when needed. This would make it far too apparent due to https://github.com/odoo/odoo/pull/148138 OPW-3733829
The cohort view now applies the same muted sample-data styling to its horizontal scrollbar when sample data is shown. This keeps the interface visually consistent and prevents the scrollbar from standing out unnecessarily.
Original PR description
This commit fixes an issue where the eventual horizontal scrollbar in cohort table would not receive sample data styling when needed. This would make it far too apparent due to https://github.com/odoo/odoo/pull/148138 OPW-3733829
The barcode batch transfer screen now hides the Confirm button when users open the action/settings menu where that action is not relevant. This reduces confusion and prevents users from seeing an option that does not make sense in the current view.
Original PR description
…e list views To reproduce issue: .go to barcode app .click on batch transfers .click on new .click on engine icon Expected result: confirm button hide Actual result: confirm button is not hide I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr When a user navigate from batch transfer and click on a engine icon the confirm button still showing, it's no makes sense for the current view. Now, when the user click on it, the confirm button will be hide and apear when close that menu. spec: https://drive.google.com/file/d/1UR-PtoM5CjfEi3X4p7LEpitl1_sspF-h/view task-3525776