Daily updates from Odoo
Wednesday, August 3, 2022
9 changes · master
Enhancements to existing features
This change updates the project planning timeline controls used in Gantt views. It appears to be a small adjustment affecting project task scheduling and general Gantt behavior, with limited business impact based on the available details.
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
Code cleanup and technical improvements
The IoT log download button and related alert dialog have been rebuilt using Odoo’s newer interface framework. This keeps the feature easier to maintain while preserving the same business function for users managing IoT devices.
Original PR description
Convert the iot_download_logs widget to owl. This PR also converts the dialog from iot_mixins.js to an owl component
Miscellaneous changes
…izard Remove the payments if possible instead of reversing them everytime. task: 2896854 Forward-Port-Of: odoo/enterprise#28933
Original PR description
…izard Remove the payments if possible instead of reversing them everytime. task: 2896854 Forward-Port-Of: odoo/enterprise#28933
The journal report has sub-tables. The header of these are set to move with the scrolling because of a css rule that is not precise enough, it was fixed in reportalypse but should be fixed in 15.4 too as it affect the report. Task id #2942317 Forward-Port-Of: odoo/enterprise#30070
Original PR description
The journal report has sub-tables. The header of these are set to move with the scrolling because of a css rule that is not precise enough, it was fixed in reportalypse but should be fixed in 15.4 too as it affect the report. Task id #2942317 Forward-Port-Of: odoo/enterprise#30070
Activate a rtl language Open Accounting > Reporting > Balance sheet Report is shown RTL Print preview Pdf is shown LTR opw-2922129 Forward-Port-Of: odoo/enterprise#29918
Original PR description
Activate a rtl language Open Accounting > Reporting > Balance sheet Report is shown RTL Print preview Pdf is shown LTR opw-2922129 Forward-Port-Of: odoo/enterprise#29918
The search for debit & credit accounts for counterpart lines when resolving rounding issues is done on hard coded account codes. Some clients have different codes. More specifically, codes are sometimes longer (2 zeros more). This would generate an error as no accounts were found. The new search allows for more flexibility in account codes. Tasks: opw-2920760, opw-2925228 Forward-Port-Of: odoo/enterprise#29994
Original PR description
The search for debit & credit accounts for counterpart lines when resolving rounding issues is done on hard coded account codes. Some clients have different codes. More specifically, codes are sometimes longer (2 zeros more). This would generate an error as no accounts were found. The new search allows for more flexibility in account codes. Tasks: opw-2920760, opw-2925228 Forward-Port-Of: odoo/enterprise#29994