diff options
| author | Denis Ledoux <dle@odoo.com> | 2015-09-11 14:10:49 +0200 |
|---|---|---|
| committer | Denis Ledoux <dle@odoo.com> | 2015-09-11 14:18:45 +0200 |
| commit | 9ad357553db14870c2a98c763d2526d78fa34063 (patch) | |
| tree | a2c47df0e0e55a9c7442d3c5b222a344e151aa81 /addons/web_editor/static/src/js/transcoder.js | |
| parent | 63a5bc8c5f6f814246453f7a9f6980285f47e4d2 (diff) | |
[FIX] mass_mailing: missing auto_commit in `send_mail` overrides
The argument `auto_commit` was omitted in `send_mail` overrides.
`auto_commit` was therefore allmost always `False` when
reaching the `send` method of model `mail.mail`,
in `mail/mail_mail.py`. At least it was when either
`sale`, `purchase` or `account` were installed.
Not committing the sql transaction leaded to the fact
the mail statistics were never created when the queue
process was interrupted (e.g. process time limit reached),
and knowing if an email in a mass mailing has already been sent or not
is based on the fact the mail statistics exists or not.
Therefore, if a mass mailing sending process was interrupted,
the emails were re-sent over and over.
opw-649106
Diffstat (limited to 'addons/web_editor/static/src/js/transcoder.js')
0 files changed, 0 insertions, 0 deletions
