Skip to content
Snippets Groups Projects
user avatar
Jason Van Malder authored
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: default avatarJason Van Malder (jvm) <jvm@odoo.com>
f99f4db1
History
Name Last commit Last update