Wednesday, February 5, 2025
2 changes · 17.0
Enhancements to existing features
The payment system's background processing job is now disabled by default and only turns on when a payment provider is enabled. This reduces unnecessary system activity and performance overhead for databases that do not use online payments.
Original PR description
The payment post-processing cron is run every 10 minutes to ensure smooth operations, but waking up crons incurs a non-negligible performance cost. Since the `payment` module is automatically installed with the `account` module, most databases have the `payment` module installed with its cron, even if they didn't enable any provider. This commit disables the cron until a provider is enabled. task-4467217
The test email template now supports customizable message IDs, references, and subjects. This makes it easier for Odoo's teams to reuse the same test data for reply scenarios, improving test coverage without affecting end users.
Original PR description
We add the variable msg_id and references to the test mail template MAIL_EML_ATTACHMENT to allow to use it as a response to another mail. We also add "subject" to allow to use test-related subject. Task-3707821