diff options
| author | Denis Ledoux <dle@odoo.com> | 2020-10-01 15:25:44 +0000 |
|---|---|---|
| committer | Denis Ledoux <dle@odoo.com> | 2020-10-01 15:25:44 +0000 |
| commit | 4a978c08853b992199336f6355d816e2d5adfc84 (patch) | |
| tree | 3b2e23a4d82d81dbce88e0a6a244ff43daf03acb /addons/auth_signup | |
| parent | d16debfaaec393217a119c4ce6f5ff8b00c18964 (diff) | |
[FIX] auth_signup: `base.user_admin` is not a group.
32ec8a974ddd8715bd76faf7a2d95e4a870c6132
aims to give the possibility to admins to send reset password emails
to users.
`groups_id` expects a `res.groups` id,
not a `res.users`
closes odoo/odoo#58932
Signed-off-by: Denis Ledoux (dle) <dle@odoo.com>
Diffstat (limited to 'addons/auth_signup')
| -rw-r--r-- | addons/auth_signup/views/res_users_views.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/auth_signup/views/res_users_views.xml b/addons/auth_signup/views/res_users_views.xml index 7209d3cfed9..693f2c01a7f 100644 --- a/addons/auth_signup/views/res_users_views.xml +++ b/addons/auth_signup/views/res_users_views.xml @@ -50,7 +50,7 @@ <record id="action_send_password_reset_instructions" model="ir.actions.server"> <field name="name">Send Password Reset Instructions</field> <field name="model_id" ref="base.model_res_users"/> - <field name="groups_id" eval="[(4, ref('base.user_admin'))]"/> + <field name="groups_id" eval="[(4, ref('base.group_erp_manager'))]"/> <field name="binding_model_id" ref="base.model_res_users" /> <field name="state">code</field> <field name="code">records.action_reset_password()</field> |
