-
- Downloads
[FIX] auth_signup: send confirmation email when registering
Steps to reproduce: - In settings, activate "Free sign up" option; - Go to "Sign in" page; - Click on "Don't have an account?"; - Create an account. Issue: No confirmation email is sent. Cause: The `qcontext.get('token')` variable does not exist in the case of a "Free sign up". And therefore, we do not respect the condition to send an email. opw-3103867 closes odoo/odoo#111939 X-original-commit: ad95fbdd Signed-off-by:Martin Trigaux (mat) <mat@odoo.com> Signed-off-by:
Thibault Delavallee (tde) <tde@openerp.com>
Showing
- addons/auth_signup/controllers/main.py 7 additions, 8 deletionsaddons/auth_signup/controllers/main.py
- addons/auth_signup/tests/__init__.py 4 additions, 0 deletionsaddons/auth_signup/tests/__init__.py
- addons/auth_signup/tests/test_auth_signup.py 54 additions, 0 deletionsaddons/auth_signup/tests/test_auth_signup.py
Loading
Please register or sign in to comment