diff --git a/auth_saml/models/auth_saml_provider.py b/auth_saml/models/auth_saml_provider.py index 41cd5a25c..e032b6e57 100644 --- a/auth_saml/models/auth_saml_provider.py +++ b/auth_saml/models/auth_saml_provider.py @@ -137,7 +137,9 @@ class AuthSamlProvider(models.Model): help="Whether metadata should be signed or not", ) - allow_saml_unsolicited_req = fields.Boolean(compute="_compute_allow_saml_unsolicited") + allow_saml_unsolicited_req = fields.Boolean( + compute="_compute_allow_saml_unsolicited" + ) @api.model def _sig_alg_selection(self): diff --git a/auth_saml/models/res_company.py b/auth_saml/models/res_company.py index c880fd86e..e967bd716 100644 --- a/auth_saml/models/res_company.py +++ b/auth_saml/models/res_company.py @@ -1,6 +1,7 @@ # -*- coding: utf-8 -*- from odoo import models, api, fields, _ + class ResCompany(models.Model): _inherit = 'res.company' diff --git a/auth_saml/models/res_config_settings.py b/auth_saml/models/res_config_settings.py index cb2205d5e..adb97b3e4 100644 --- a/auth_saml/models/res_config_settings.py +++ b/auth_saml/models/res_config_settings.py @@ -14,5 +14,7 @@ class ResConfigSettings(models.TransientModel): config_parameter=ALLOW_SAML_UID_AND_PASSWORD, ) - allow_saml_unsolicited_req = fields.Boolean(related='company_id.allow_saml_unsolicited_req', readonly=False) + allow_saml_unsolicited_req = fields.Boolean( + related='company_id.allow_saml_unsolicited_req', readonly=False + )