Thursday, July 17, 2025
2 changes · saas-18.1
Enhancements to existing features
Odoo's automated test system can now identify and label certain test types while they run, reducing manual maintenance for teams. This helps keep test suites better organized and makes quality checks for website tours and performance-sensitive tests more reliable.
Original PR description
This commit add the possibility to automatically add test-tag on a test method at runtime. A generic method `get_method_additional_tags` is added on `BaseCase` test class. That method can be overridden to return a list of test-tags that will be added on the test methods. With this mechanism, the `HttpCase` class override this method to add a `is_tour` test-tag when the `start_tour` method is used in the test method. Also, the `start_tour` method will now emit a warning when the method is called without being tagged `is_tour`. That way, all the tours can now be started with the `is_tour` test-tag. Forward-Port-Of: odoo/odoo#218533 Forward-Port-Of: odoo/odoo#212315
Nilvera API request logs are now recorded in a shorter, single-line format that is easier to monitor and analyze. The logs no longer include request parameters or payloads, reducing the risk of exposing sensitive information while keeping key performance and status details.
Original PR description
This change streamlines the Nilvera API request logs to a single-line format, making them easier to parse and visualize in tools like Grafana. The new format includes only the HTTP method, URL, response status, and request duration, removing parameters and payloads to avoid leaking sensitive information and to ensure user privacy. No task Forward-Port-Of: odoo/odoo#218045