From 48450d4800a8fedaca993516547a2ce7826ddad9 Mon Sep 17 00:00:00 2001 From: Nicolas JEUDY Date: Tue, 31 Jan 2023 16:59:34 +0100 Subject: [PATCH] [UPD] migration to 16.0 --- galicea_openid_connect/__manifest__.py | 2 +- galicea_openid_connect/models/client.py | 2 +- galicea_openid_connect/views/views.xml | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/galicea_openid_connect/__manifest__.py b/galicea_openid_connect/__manifest__.py index 42457a9..4bb089d 100644 --- a/galicea_openid_connect/__manifest__.py +++ b/galicea_openid_connect/__manifest__.py @@ -6,7 +6,7 @@ "maintainer": "nj.0k.io, Galicea", "website": "https://nj.0k.io", "category": "Technical Settings", - "version": "14.0.0.0", + "version": "16.0.0.0", "depends": ["web"], "external_dependencies": {"python": ["jwcrypto", "cryptography"]}, "data": [ diff --git a/galicea_openid_connect/models/client.py b/galicea_openid_connect/models/client.py index c446052..2c86714 100644 --- a/galicea_openid_connect/models/client.py +++ b/galicea_openid_connect/models/client.py @@ -53,7 +53,7 @@ class Client(models.Model): } ) # Do not include in the "Pending invitations" list - system_user.sudo(system_user.id)._update_last_login() + system_user._update_last_login() values["system_user_id"] = system_user.id return super(Client, self).create(values) diff --git a/galicea_openid_connect/views/views.xml b/galicea_openid_connect/views/views.xml index 3d7e5a4..9040e80 100644 --- a/galicea_openid_connect/views/views.xml +++ b/galicea_openid_connect/views/views.xml @@ -21,11 +21,11 @@
- + -