Tuesday, December 16, 2025
1 change · saas-18.2
Enhancements to existing features
Test module operation failures are now reported more clearly in Odoo's automated validation system while still ending local runs with a failure status. This helps teams spot broken builds more reliably without changing customer-facing behavior.
Original PR description
One of the changes in #118332 was to let exceptions bubble up to the interpreter in case of error, to improve the experience while running the script locally. This turns out to have downgraded runbot reporting significantly as it doesn't account for stderr / log tracebacks if it got error-level (and possibly even warning-level) logs during the run. Hopefully get the best of both world (and shorten tracebacks slightly) by restoring `logging.exception` at the script level but triggering an abnormal exit for local CLI utility. Forward-Port-Of: odoo/odoo#239995