From 7d9ca965f05b2b1c2c792b8f629d58adb57484f5 Mon Sep 17 00:00:00 2001 From: "Karthik, Sodexis" Date: Tue, 21 Nov 2023 12:58:26 +0530 Subject: [PATCH] [MIG] auth_admin_passkey: Migration to 17.0 --- auth_admin_passkey/__manifest__.py | 2 +- auth_admin_passkey/models/res_users.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/auth_admin_passkey/__manifest__.py b/auth_admin_passkey/__manifest__.py index b32ba1234b..668acd44ee 100644 --- a/auth_admin_passkey/__manifest__.py +++ b/auth_admin_passkey/__manifest__.py @@ -5,7 +5,7 @@ { "name": "Authentification - System Administrator Passkey", "summary": "Allows system administrator to authenticate with any account", - "version": "16.0.1.0.0", + "version": "17.0.1.0.0", "category": "base", "author": "GRAP,Odoo Community Association (OCA)", "website": "https://github.com/OCA/server-auth", diff --git a/auth_admin_passkey/models/res_users.py b/auth_admin_passkey/models/res_users.py index 456ea87b1b..e29aa1b59c 100644 --- a/auth_admin_passkey/models/res_users.py +++ b/auth_admin_passkey/models/res_users.py @@ -56,7 +56,7 @@ def _prepare_email_passkey(self, login_user): def _check_credentials(self, password, env): try: - return super(ResUsers, self)._check_credentials(password, env) + return super()._check_credentials(password, env) except exceptions.AccessDenied: # Just be sure that parent methods aren't wrong