Wednesday, February 15, 2023
3 changes · master
Resolved issues and error corrections
Email cleanup now avoids a batching behavior that could cause scheduled jobs to time out and block tracking updates after mailings. This helps keep email marketing tracking responsive and reduces the risk of delayed background processing.
Original PR description
Bug === The unlink of the <mail.mail> in the CRON is problematic because we accumulate a lot of records, and the CRON timeout. Task-3179157 See odoo/odoo/pull/73271
This update restores the previous way follow-up and knowledge emails are cleaned up after sending. It helps keep automated email handling reliable and updates related checks to match the corrected behavior.
Original PR description
Purpose ======= Revert the unlink in batch of the <mail.mail>, and so update the query counts and the tests. Task-3179157 See odoo/odoo/pull/112307
Single payslip creation now checks for missing work entries before allowing the payslip to be created. This prevents incorrect payroll documents and aligns individual payslip creation with existing batch payroll safeguards.
Original PR description
When creating a single payslip it is currently possible to do this with missing work entries, resulting in a faulty payslip being created. With this change we perform the same check that is done when generating payslips in batch (in the work entries overview) to make this impossible. task-3055129