From 646f7353a12ef0460f941fcc5099f0aadf3bf671 Mon Sep 17 00:00:00 2001 From: Ivan Office Date: Sun, 26 Jan 2025 00:13:57 +0800 Subject: [PATCH] =?UTF-8?q?app=5Fsaas=E5=A4=84=E7=90=86client=20sec?= =?UTF-8?q?=EF=BC=8C=E6=9C=89push=E5=B0=B1=E8=AE=BE=E7=BD=AE=E5=80=BC?= =?UTF-8?q?=EF=BC=8C=E5=9B=A0=E4=B8=BA=E6=9C=89=E5=8F=AF=E8=83=BD=E6=98=AF?= =?UTF-8?q?clone=E5=BA=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app_saas/__manifest__.py | 2 +- app_saas/models/res_users.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app_saas/__manifest__.py b/app_saas/__manifest__.py index b8fb8c75..f01f3452 100644 --- a/app_saas/__manifest__.py +++ b/app_saas/__manifest__.py @@ -26,7 +26,7 @@ { 'name': 'odooapp.cn SaaS Client-Ai Passport.Odoo中文应用商店SaaS云服务客户端', - 'version': '16.0.25.01.23', + 'version': '16.0.25.01.26', 'author': 'odooai.cn', 'category': 'Base', 'website': 'https://www.odooai.cn', diff --git a/app_saas/models/res_users.py b/app_saas/models/res_users.py index 2a14cffe..8e4f7a81 100644 --- a/app_saas/models/res_users.py +++ b/app_saas/models/res_users.py @@ -48,7 +48,7 @@ class ResUsers(models.Model): if push_client_secret: ICP = self.env['ir.config_parameter'].sudo() ICP.set_param('app_saas_db_token', push_client_secret) - if hasattr(oauth_provider, 'client_secret') and not oauth_provider.client_secret: + if hasattr(oauth_provider, 'client_secret'): oauth_provider.write({'client_secret': push_client_secret}) self._cr.commit() return ret