diff options
| author | Hugo Adan <hugo@vauxoo.com> | 2019-01-12 01:16:45 +0000 |
|---|---|---|
| committer | Hugo Adan <hugo@vauxoo.com> | 2019-02-13 14:55:29 +0000 |
| commit | a9fa46fdc8b98c44a8b0966b94ae623ec3ff66ba (patch) | |
| tree | 8904374d8c64134ed037dff9a0ed5c2664bc86eb /odoo/addons/test_new_api/tests/test_new_fields.py | |
| parent | 090c3a06c8ddd187bb8f3fc5501a7bece7a11662 (diff) | |
[FIX] mass_mailing: make retry failed mail work with keep archive set to False
Let M be a mass_mailing.
For all messages m related to M, retry_failed_mail removes the mail
statistics
of m before putting M 'in_queue'.
Since there are no statistics on m, its recipient is returned by the
function
get_remaining_recipients when called by send_mail once M is processed.
However when keep archive is set to False, the 'mail.mail' records
are automatically removed. As a results their statistics are not
removed,
and thus these mails are not retried.
closes odoo/odoo#30158
Diffstat (limited to 'odoo/addons/test_new_api/tests/test_new_fields.py')
0 files changed, 0 insertions, 0 deletions
