Monday, March 13, 2023
3 changes · master
Resolved issues and error corrections
A small issue in the Planning app was fixed by using the correct source for a date range helper. This helps prevent related planning timeline behavior from breaking due to an incorrect internal dependency.
Original PR description
Before this commit: computeRange was imported from a wrong source "@web/core/l10n/dates". In this commit: computeRange is now imported from gantt_model as it should be.
Fixes an issue where adding property fields to article items in a Knowledge kanban could cause the embedded article view to fail. The required field data is now loaded so users can return to the main article without seeing an error placeholder.
Original PR description
To display the property fields, we need to load in the view the field storing the definition of the property field. Currently, we forgot to load that field for the kanban view showing the article items of the active article. As a result, the view can not properly load the property fields and the embedded view ends up crashing. This commit will fix that issue by simply loading the required field in the kanban view. Steps to reproduce the error: 1. Open an article 2. Use the /kanban command 3. Create a new article item 4. Add new property fields 5. Go back on the main article => The embedded view shows the error placeholder. => The following error occurred in onWillStart: "parent is undefined" Related: https://github.com/odoo/enterprise/pull/37004 task-3218435
Knowledge property field inputs now always show an underline, making it clearer to users that they can be edited. The fields also better use the available panel width, improving readability and consistency in the Knowledge interface.
Original PR description
For the property fields of Knowledge, we would like to always underline the property field inputs to indicate that they are editable. Currently, some inputs get an underline only when the user focuses or hovers the element. This PR will ensure that the underline will always be visible. It will also add some css tweaks to ensure that all inputs take the full width of the panel. Related: https://github.com/odoo/enterprise/pull/37299 task-3221040