Thursday, May 4, 2023
3 changes · master
Enhancements to existing features
Knowledge articles now use updated side panels for discussions and article properties, keeping the same familiar behavior while aligning them with the newer interface. Users can manage article properties more deliberately from within the panel, making the workspace clearer and reducing accidental actions.
Original PR description
This commit adds 2 new widgets to the knowledge.article view: the ChatterPanel and the PropertiesPanel. These widgets are OWL versions of the ones already present in the original view meaning that their behavior is the same as before and the style is similar. Since these widgets aren't comprised inside of the topbar we needed to add listeners on the corresponding buttons in order for them to apply the wanted behavior. For the PropertiesPanel we are using the Component PropertiesField, in order to modify or add properties to each article. For the ChatterPanel we are using the ChatterContainer Component and we feed it the ThreadModel `knowledge.article` and the threadId is dependant on the article`s ID. Upgrade: odoo/upgrade#4584 task-3096030
Knowledge users can now organize article items in true kanban boards with configurable stages such as New, Ongoing, and Done. This makes tracking work or content progress easier directly inside Knowledge, with options to manage stages and create items quickly.
Original PR description
Purpose ======= Allow users to have a real kanban with stages Specifications ============== Copy the implementation done for projects - Add a menu item under Configuration - Users can edit/add/remove stages (same right on stages than on the article that owns them) - By default when we insert a kanban, create 3 stages: New, Ongoing, Done: create stages only at /kanban call, if not stage already - On apply min height to kanban views that use group by to ease redability - Add Items Cards command (kanban not grouped by stage) - add quick create to /kanban (not to /cards) Task-3283046
Resolved issues and error corrections
Fixed an issue where embedded external records or links added to Knowledge articles could be lost when users clicked into them before the article was saved. The article now correctly detects these edits and saves them, improving reliability for Knowledge and Helpdesk content updates.
Original PR description
This commit fixes a bug where external insertion inside an article would not be saved if you clicked on a record inside the view or opened the link. This is caused because the article was not flagged as dirty when opening either a record or a link which does not trigger a save by the field html. Now when we are finished inserting we are asking the record to check for changes which will flag the field as dirty and will trigger the save mechanism on opening an external record/link. We also adapted one of the tour in website_helpdesk_knowledge that test cross module features or knowledge to take this behavior into account. task-3292309