Wednesday, November 8, 2023
6 changes · 17.0
Enhancements to existing features
Links across several Odoo screens and localization modules were updated to point to the correct 17.0 documentation or resources. This helps users access relevant guidance for their current version and reduces confusion from outdated references.
The website editor now better respects protected areas when users type, paste, use keyboard actions, or apply editing commands. This helps dynamic widgets stay intact and reduces the risk of accidental changes to content that should remain controlled by the system.
Original PR description
In order to be able to create dynamic widgets to the editor, this commit reinforce the concept of data-oe-protected by preventing the default behavior for _applyRawCommand, on paste, on input and on keydown. --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The new refactorings of the Italian EdI require updated translations. Task link: https://www.odoo.com/web#model=project.task&id=3263708 task-3263708
Original PR description
The new refactorings of the Italian EdI require updated translations. Task link: https://www.odoo.com/web#model=project.task&id=3263708 task-3263708
The website editor now lets add-ons mark specific page elements as movable. This gives third-party customizations more flexibility when arranging content in the editor, without changing standard editor behavior for most users.
Original PR description
In order to let third party code set a node to be movable, this commit adds a class to set a node to be movable in the OdooEditor. --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update refreshes all documentation and reference links throughout the Odoo Enterprise system to point to version 17.0 resources. The changes ensure users and administrators access the correct, up-to-date documentation for their current software version, improving support and user experience.
The Knowledge article search feature, accessed through the command palette, is now significantly faster. The improvements include optimizing how the system determines favorite articles and implementing a more efficient database query for sorting results. Users searching through thousands of articles will experience up to 15 times faster search performance.
Original PR description
Searching a Knowledge article through the command palette was very slow, mostly because the search results were sorted using computed fields in Python. This work contains 2 performance improvements…
Searching a Knowledge article through the command palette was very slow, mostly because the search results were sorted using computed fields in Python. This work contains 2 performance improvements to `get_user_sorted_articles`: - Improve the computation time of `_compute_is_user_favorite` in Python - Implement a custom SQL query for `get_user_sorted_articles` so that the ordering is done entirely in SQL. A query count test is introduced for `get_user_sorted_articles` first and is updated throughout the commits as a visual check for the improvements. Called with a recordset of ~1000 articles,`_compute_is_user_favorite` was observed to be ~8 times faster. A complete search (empty search query) with `get_user_sorted_articles` on a database of ~3000 articles was observed to be ~15 times faster. See each commit for more details. See [the community PR] for the fix to the command palette. [the community PR]: https://github.com/odoo/odoo/pull/140545 task-3554068 Forward-Port-Of: odoo/enterprise#50372 Forward-Port-Of: odoo/enterprise#48945