diff options
| author | Juhil Somaiya <jso@odoo.com> | 2019-01-21 07:17:22 +0000 |
|---|---|---|
| committer | Barad Mahendra <mba@openerp.com> | 2019-04-24 11:14:07 +0000 |
| commit | 1414470d346ba9cf63c62295e40e088b3a9b4e57 (patch) | |
| tree | 7b7709f62a2b8ba744582a301b904f08c9efa7d7 /addons/auth_signup/data/auth_signup_data.xml | |
| parent | 32eee7b6ec049fa4df05c50eed32887ab0e3ca7c (diff) | |
[IMP] auth_signup: reset password settings should be enabled by default
As it's easy to forgot user's password and if user do,
user currently have no way to reset it if user didn't activate
the settings to enable the Reset Password.
so enable this options by default to avoid people getting blocked
because they forgot their password.
task-1925281
closes odoo/odoo#30391
Signed-off-by: Martin Geubelle (mge) <mge@openerp.com>
Diffstat (limited to 'addons/auth_signup/data/auth_signup_data.xml')
| -rw-r--r-- | addons/auth_signup/data/auth_signup_data.xml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/addons/auth_signup/data/auth_signup_data.xml b/addons/auth_signup/data/auth_signup_data.xml index 80a52001d49..88852ce662b 100644 --- a/addons/auth_signup/data/auth_signup_data.xml +++ b/addons/auth_signup/data/auth_signup_data.xml @@ -3,6 +3,8 @@ <data noupdate="1"> <!-- activate B2C portal by default --> <function model="ir.config_parameter" name="set_param" eval="('auth_signup.invitation_scope', 'b2c')"/> + <!-- activate Reset password by default --> + <function model="ir.config_parameter" name="set_param" eval="('auth_signup.reset_password', 'True')"/> <!-- Email template for reset password --> <record id="reset_password_email" model="mail.template"> <field name="name">Auth Signup: Reset Password</field> |
