Daily updates from Odoo
Sunday, February 16, 2025
1 change · 18.0
Resolved issues and error corrections
The mail module now avoids a database handling pattern that could slow down scheduled message processing. This keeps scheduled communications more efficient and reduces the risk of performance issues in mail operations.
Original PR description
Purpose: -------- Replace the usage of the savepoints introduced in [this commit](https://github.com/odoo/odoo/commit/e7271331ee52596e307f402b76ff61b58ec59429) which might lead to poor performances. See https://github.com/odoo/odoo/pull/167236 for more details. Since commit and rollback are forbidden in tests, the part in the `test_scheduled_message_posting` test checking that the failed scheduled message was not posted has been removed. Task-4575344