Skip to content
Snippets Groups Projects
Commit a35cd5a9 authored by Jason Van Malder's avatar Jason Van Malder Committed by Nicolas Martinelli
Browse files

[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#43724

Signed-off-by: default avatarNicolas Martinelli (nim) <nim@odoo.com>
parent 096fdc7d
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment