Tuesday, May 20, 2025
1 change · master
Code cleanup and technical improvements
The Chilean electronic invoicing email retrieval process was aligned with recent platform changes. This improves error handling when fetching emails, reducing the chance that one problem interrupts broader processing.
Original PR description
Align the function `_fetch_mail` with the refactoring in the community repository. We add a savepoint to handle errors properly. Note: this does not implement the progress notification for cron jobs as we do not know the global state here, the recommendation is to move the processing of e-mails to `message_process` as we now handle the case where there is a lot of new e-mails on an IMAP server. odoo/odoo#191911