From 25a851f4f415fdb586a152d70aff84f2ee39561f Mon Sep 17 00:00:00 2001 From: Stephane Mangin Date: Wed, 14 Feb 2024 16:30:07 +0100 Subject: [PATCH] [15.0] auth_saml_environment: removes readonly attributes to allow provider creation --- auth_saml_environment/models/auth_saml_provider.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/auth_saml_environment/models/auth_saml_provider.py b/auth_saml_environment/models/auth_saml_provider.py index 88883b3bd..ccffee63c 100644 --- a/auth_saml_environment/models/auth_saml_provider.py +++ b/auth_saml_environment/models/auth_saml_provider.py @@ -8,6 +8,11 @@ class AuthSamlProvider(models.Model): _name = "auth.saml.provider" _inherit = ["auth.saml.provider", "server.env.mixin"] + # Mandatory to be able to create objects + idp_metadata = fields.Text(required=False) + sp_pem_public = fields.Char(required=False) + sp_pem_private = fields.Char(required=False) + sp_pem_public_path = fields.Char( string="sp_pem_public_path env config value", )