diff options
| author | Jason Van Malder <jvm@odoo.com> | 2020-01-22 09:59:29 +0000 |
|---|---|---|
| committer | Jason Van Malder <jvm@odoo.com> | 2020-01-30 11:59:38 +0000 |
| commit | f99f4db134fae2d22ec3cc1cf98b189e253bd4c3 (patch) | |
| tree | 407f249412536af3330012e3f25b2731ae4c06eb /addons/web/static/src/js/tools | |
| parent | 2ecbfddd6bf877c8fe1221e6bda6b88c4c3417ea (diff) | |
[FIX] auth_signup: fix email sent when testing an import
Issue
- Contacts
- Import a contact that will be a portal user
- Test import
Activation email sent
Cause
Testing an import do the whole process including sending an email
because of force_send (email not rollbacked).
Solution
Check if we are testing the import. If yes, do not force
send the email. So, the email will be rollbacked.
OPW-2168868
closes odoo/odoo#44283
X-original-commit: f372334facd189d0a70268e7876511bf1f800a4a
Signed-off-by: Jason Van Malder (jvm) <jvm@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/tools')
0 files changed, 0 insertions, 0 deletions
