Saturday, September 6, 2025
2 changes · 18.0
Resolved issues and error corrections
This fix prevents image report generation from failing on Windows when temporary files are accessed by the external conversion tool. Businesses using Odoo on Windows should see fewer report export errors and smoother document/image generation.
Original PR description
Description of the issue/feature this PR addresses: Current behavior before PR: On Windows tempfile.NamedTemporaryFile won't allow access from external process. This result in "ContentAccessDenied" error when wkhtmltoimage process is executed. Below is the example error message on Windows: 2025-09-06 13:11:52,587 15780 WARNING odoo_insights odoo.addons.base.models.ir_actions_report: Wkhtmltoimage failed (error code: 1). Message: Exit with code 1 due to network error: ContentAccessDenied The only solution used by most projects is to use delete=False argument and delete the temp file manually later Desired behavior after PR is merged: I should work without error on Windows. --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update improves how Twilio SMS sending problems are detected, reported, and shown in related notifications and mailing records. It also fixes SMS test flows so test messages are sent to the intended number and users receive clearer feedback when messages succeed or fail.
Original PR description
Followup of odoo/odoo#206818 and odoo/enterprise#93495 Provide various improvements in testing tools, notably to better cover twilio feedback and error type management. Provide various fixes linked to error types, propagation, error messages. Fix propagation to mail notification and mailing traces, which was missing in original PR. For more details see sub commits. Task-5053537 Forward-Port-Of: odoo/odoo#225036