Daily updates from Odoo
Monday, April 6, 2026
3 changes · master
New functionality added to Odoo
This pull request implements testing for the KCV (Knowledge Capture and Validation) feature within the Odoo Enterprise platform. The changes focus on establishing a basic test framework to ensure the functionality of KCV processes. This is a foundational step to improve the reliability and quality of the KCV module.
Enhancements to existing features
This update quietly displays a notification within WhatsApp channels when a new template is sent. This prevents frequent, distracting pop-ups, particularly when multiple templates are used, ensuring a smoother user experience for contacts.
Original PR description
When a different user sends a WhatsApp template, a warning notification is posted in the active channel indicating that future replies will be moved to a new chat. This notification is now posted silently to avoid unnecessary popups, especially when templates are sent in bulk to multiple contacts with ongoing conversations. Forward-Port-Of: odoo/enterprise#112961
Resolved issues and error corrections
This update resolves an issue where users would encounter an error when attempting to save a report with an empty XML format in web_studio. The fix prevents the system from attempting to process invalid XML data, ensuring a smoother user experience. This improves report creation stability.
Original PR description
Currently an error is generated when the user tries to save a report with an empty XML format. Steps to reproduce: - Install web_studio and sale_management - Sales > Studio > Reports > New > External…
Currently an error is generated when the user tries to save a report with an empty XML format. Steps to reproduce: - Install web_studio and sale_management - Sales > Studio > Reports > New > External > Type Text in report - Save > Edit Sources > Remove full XML > Save Error: `XMLSyntaxError:Document is empty, line 1, column 1 (<string>, line 1)` This error occurs because line [1] in `web_editor` attempts to access nodes by using `etree.fromstring()` with an empty `view.arch`, which is empty, resulting in an error. In earlier versions, this error was already handled by the `_check_xml` constraint, which raised a validation error when an `etree.ParseError` occurred while parsing `etree.fromstring(view.arch)` with an empty `view.arch` (see code reference [2]). However, recent changes introduced in commit [3] allow `view.arch` to be empty. As a result, this error is no longer handled by the constraint. This commit fixes the issue by adding a condition to prevent calling `etree.fromstring()` when `view.arch` is empty, avoiding attempts to access nodes from invalid data. It also updates the logic in the `web_studio` module's `get_xml_editor_resources` method to ensure resources are processed only when a valid view architecture is available. [1]: https://github.com/odoo/odoo/blob/8a88756bed194910bc5a47e93f0e29610dbeee1f/addons/web_editor/models/ir_ui_view.py#L367 [2]: https://github.com/odoo/odoo/blob/75ca0fec9a0d3b1e3a05a8bf3101bbe21846ac7a/odoo/addons/base/models/ir_ui_view.py#L372-L377 [3]: https://github.com/odoo/odoo/commit/8334ea5c777e5a478f12b8bb7a2f54bcae537d0f sentry-6288795955 Forward-Port-Of: odoo/enterprise#112400 Forward-Port-Of: odoo/enterprise#88613