diff options
| author | Nicolas Lempereur <nle@odoo.com> | 2019-11-04 12:08:08 +0000 |
|---|---|---|
| committer | fw-bot <otis@odoo.com> | 2019-11-04 14:18:16 +0000 |
| commit | b12bcfbb1b44cc72cdf73506c540c387f00a37e9 (patch) | |
| tree | f9af82e8423e16ccb1f7bdb5369aac7e73f114ad /doc/reference/javascript_cheatsheet.rst | |
| parent | c4a339e8398fb291de0177427ba475ff104ed45f (diff) | |
[FIX] sale: have sender in SO confirmation email
Before 13.0 .sudo() before sending a mail would send it as superuser user
(which was the intention in this case), but since 13.0 for the same
intention we need .with_user(SUPERUSER_ID).
Without this change, the confirmation email on a sale order would have
no sender ending up in failure.
opw-2118612
closes #39737
closes odoo/odoo#39752
X-original-commit: 6aebb5231c3ed0b87cdddcd9cb463952e346ec07
Signed-off-by: Nicolas Lempereur (nle) <nle@odoo.com>
Diffstat (limited to 'doc/reference/javascript_cheatsheet.rst')
0 files changed, 0 insertions, 0 deletions
