diff options
| author | Nans Lefebvre <len@odoo.com> | 2019-03-06 12:49:08 +0000 |
|---|---|---|
| committer | Nans Lefebvre <len@odoo.com> | 2019-03-06 12:49:14 +0000 |
| commit | ffbdea57f5d0e736a45d1e1d63791ae006943f4e (patch) | |
| tree | bcb5cbfe62dfa2a6de84ec79a723ee98e38b817d /addons/test_website/tests | |
| parent | b8ff6754fb60eb4dee09af2882f414cc1e1a8e39 (diff) | |
[FIX] sale: correctly propagate contexts
Commit d139e92c621f88676e5fefa9f2359dabc8b4602c set the force_send to True
unless there is an explicit mail_notify_force_send set to False in the context.
The _get_eval_context puts mail_notify_force_send to False in the context,
but it might be lost before reaching that method call.
Launch a cron that starts a transaction, see if it goes through,
and rollback if it didn't,
then the mails send inbetween will be sent every time the cron restarts.
E.g. _cron_post_process_after_done.
opw 1921112
opw 1945953
closes odoo/odoo#31605
Signed-off-by: Nans Lefebvre (len) <len@odoo.com>
Diffstat (limited to 'addons/test_website/tests')
0 files changed, 0 insertions, 0 deletions
