Tuesday, April 2, 2024
10 changes · 17.0
Enhancements to existing features
The HR Holidays dashboard has been improved to provide a better user experience. Warning messages about half-day leave requests are now positioned at the bottom of the screen to prevent them from overlapping with the ribbon, and unnecessary scroll bars have been removed from dialog windows to make the interface cleaner and easier to read.
Original PR description
The warning message when you have a half-day off confirmed while the duration of this leave's type is daily is moved towards the bottom of the sheet to avoid overlap between this message and the ribbon. And to improve the readibility of the dialog view, the scroll bar is removed when it's not needed. task: 3820211 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update adds dark mode support to Odoo's offline page, providing a more comfortable viewing experience when the application is unavailable. Users will no longer experience harsh bright screens when the offline page appears, improving overall user experience during downtime.
Original PR description
Tired of getting flashbang every time this screen pops up 💫 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Resolved issues and error corrections
This update makes certain text in the Web and Website areas available for translation. It helps provide a more consistent multilingual experience for users without changing business workflows.
Original PR description
*: web, website Strings within inline templates are not translatable, so we convert these templates into standard templates so that they can be. Task-3761551
This update corrects an internal test import path in the bus module that was causing automated tests to fail before they could run. It helps keep the test suite reliable and reduces false failures during development and validation.
Original PR description
by mistaked there was wrong path in import `from ..models.bus import json_dump, get_notify_payloads, NOTIFY_PAYLOAD_MAX_LENGTH` so we need to correct it by giving correct path ``` File…
by mistaked there was wrong path in import
`from ..models.bus import json_dump, get_notify_payloads, NOTIFY_PAYLOAD_MAX_LENGTH` so we need to correct it by giving correct path
```
File "/home/odoo/src/odoo/17.0/addons/l10n_gcc_invoice/tests/test_gcc_invoice.py", line 5, in <module>
from odoo.addons.account.tests.common import AccountTestInvoicingCommon
File "/home/odoo/src/odoo/17.0/addons/account/tests/__init__.py", line 11, in <module>
from . import test_account_journal
File "/home/odoo/src/odoo/17.0/addons/account/tests/test_account_journal.py", line 8, in <module>
from odoo.addons.mail.tests.common import MailCommon
File "/home/odoo/src/odoo/17.0/addons/mail/tests/__init__.py", line 19, in <module>
from .discuss import *
File "/home/odoo/src/odoo/17.0/addons/mail/tests/discuss/__init__.py", line 7, in <module>
from . import test_guest_feature
File "/home/odoo/src/odoo/17.0/addons/mail/tests/discuss/test_guest_feature.py", line 5, in <module>
from odoo.addons.bus.tests.common import WebsocketCase
File "/home/odoo/src/odoo/17.0/addons/bus/tests/__init__.py", line 6, in <module>
from . import test_notify
File "/home/odoo/src/odoo/17.0/addons/bus/tests/test_notify.py", line 5, in <module>
from ..models.bus import json_dump, get_notify_payloads, NOTIFY_PAYLOAD_MAX_LENGTH
ImportError: cannot import name 'get_notify_payloads' from 'odoo.addons.bus.models.bus' (/home/odoo/src/odoo/17.0/addons/bus/models/bus.py)
```
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-prThis update adjusts performance test thresholds for the Appointment HR module to account for a change in how website menus are cached. When the Help Desk module is installed, the menu now contains special links that prevent caching, resulting in more database queries. The fix increases the acceptable query count in tests to reflect this new behavior.
Original PR description
[This first commit] fixed an issue with the website menu cache. The menu is not cached anymore if there is a record like URL in the it. When `website_helpdesk` module is installed, since `saas-16.3`, the menu contains a record like URL which disable the menu cache and increase the number of queries. The solution is to increase the max number of queries even if a better solution would be to remove the `Help` link from the menu but we can't do that because `appointment_hr` doesn't depend on `website`. [This first commit]: https://github.com/odoo/odoo/commit/43576cd424b6d0fc7da01142b5e6550e371ad1ff runbot-60956 runbot-59981 Forward-Port-Of: odoo/enterprise#59618
A ticket field was incorrectly appearing in the timesheet list when viewing support tickets with timesheet tracking enabled. This fix removes the duplicate field to match the expected behavior and provide a cleaner user interface.
Original PR description
Before this commit, the ticket field is displayed in the sublist view of timesheet when the user is in ticket form view with timesheets feature enabled. This commit hides the ticket field as it was the case base. issue found during the testing of task-2276015
This update resolves a visual issue where the comment box was being incorrectly highlighted when signing reports in the Field Service module. The fix removes unnecessary styling that was causing the unwanted highlight effect, improving the user experience when completing and signing worksheets.
Original PR description
17.0 Steps to reproduce: - install field service - check worksheet option from setting in field service - complete worksheet of any task and click on sign report - click on sign button on portal Issue: - comment box is getting highlight Solution: - remove the position relative styling from comment box Task:3770835
This fix corrects the layout spacing in the project task view when task dependencies are enabled. The title field was appearing too far from the left edge because all fields had equal width. The fix adjusts the width of the priority and state fields to restore proper alignment and improve the visual appearance of the task display.
Original PR description
Versions: --------- saas-16.3 Steps to Reproduce: ------------- - open project - open project settings and mark task dependencies - open task Issue: ------ - The title is super far from the left. Cause: -------- - Every field have the same width. Fix: -------- - We fix the width of priority and state. task-3761269 Forward-Port-Of: odoo/odoo#156441
This update fixes test failures in the product variants feature that occurred when running tests without demo data. The fix ensures that variant-related tests run reliably in all environments, improving the stability of the product module's testing process.
Original PR description
Some tests on dynamic variants mechanism didn't pass on test without demo data due to odoo/odoo#143543. Forward-Port-Of: odoo/odoo#159818 Forward-Port-Of: odoo/odoo#159709
This update fixes a display issue in the direct messaging search feature where long user names were not properly wrapped, causing UI problems. The fix ensures that user names that exceed the available space are now truncated appropriately, improving the overall user experience and interface appearance.
Original PR description
**Current behavior before PR:** Long user names in direct messaging search are not wrapped, leading to UI display issues. **Desired behavior after PR is merged:** Resolved the issue where long user names were not properly wrapped in direct messaging search. Now, when a user name exceeds the allotted space, it is truncated. Task-3748791 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#158769