diff --git a/auth_ldaps/models/res_company_ldap.py b/auth_ldaps/models/res_company_ldap.py index 301a0d4001..378caf8b94 100644 --- a/auth_ldaps/models/res_company_ldap.py +++ b/auth_ldaps/models/res_company_ldap.py @@ -37,7 +37,7 @@ def _connect(self, conf): ldap_chase_ref_disabled = ( self.env['ir.config_parameter'] .sudo() - .get_param('auth_ldap.disable_chase_ref') + .get_param("auth_ldap.disable_chase_ref") ) if str2bool(ldap_chase_ref_disabled): connection.set_option(ldap.OPT_REFERRALS, ldap.OPT_OFF)