Daily updates from Odoo
Wednesday, August 3, 2022
4 changes · master
Resolved issues and error corrections
Progress bars now display with the correct width when shown inside list/table views. This improves readability and prevents misleading or poorly formatted progress indicators for users reviewing records.
Original PR description
This commit fixes the style of the progressbar field widget displayed in a list (table). Since the field is contained in a div, its width was not correctly applied.
This fix makes the helpdesk search autocomplete message readable when a website uses a dark color palette. Visitors will now be able to clearly see the “no results” message instead of it blending into the background.
Original PR description
For the messages inside autocomplete boxes to be readable when a dark palette is used, [1] needs to be applied - but it requires that the element with the `text-muted` class is nested within the element with the `dropdown-item-text` class. This commit adapts the autocomplete template accordingly. [1]: https://github.com/odoo/odoo/commit/0e9f1c966abed9a12a986fa5b10961933790ce7a task-2855511
Sharing an individual image document now works without triggering an error. This prevents users from being interrupted when sending standalone documents through the Documents app.
Original PR description
**Before this commit:** While sharing a single document (only Image- jpg/png/...), the traceback will occur (TypeError: container.querySelector is not a function). **After this commit:** Traceback will not occur while sharing doc. **Task**-1965880
Clicking a phone number while VoIP is installed no longer causes an error. Instead, it opens the VoIP dialing panel as expected, improving reliability for users who place calls from Odoo records.
Original PR description
Before this commit, it crashed when the user clicked on the value of a PhoneField, with voip installed. After this commit, it opens the voip DialingPanel as expected. This commit also duplicates and adapts the (small) test suite for the voip PhoneField, s.t. the new implementation is tested as well. Before, only the legacy implementation was tested.