diff --git a/auth_partner/wizards/wizard_auth_partner_force_set_password.py b/auth_partner/wizards/wizard_auth_partner_force_set_password.py index 3e0c8b18c..f41268835 100644 --- a/auth_partner/wizards/wizard_auth_partner_force_set_password.py +++ b/auth_partner/wizards/wizard_auth_partner_force_set_password.py @@ -24,7 +24,7 @@ def _check_password(self): def action_force_set_password(self): self.ensure_one() - auth_partner_id = self.env.context.get("id") + auth_partner_id = self.env.context.get("active_id") if not auth_partner_id: raise UserError(self.env._("No id in context"))