diff --git a/users_ldap_populate/README.rst b/users_ldap_populate/README.rst index 8a632d127..250b3653f 100644 --- a/users_ldap_populate/README.rst +++ b/users_ldap_populate/README.rst @@ -55,6 +55,7 @@ Contributors * Holger Brunn * Daniel Reis * Stefan Rijnhart +* Jairo Llopis Maintainer ---------- diff --git a/users_ldap_populate/models/users_ldap.py b/users_ldap_populate/models/users_ldap.py index ddf4ff883..dacba1271 100644 --- a/users_ldap_populate/models/users_ldap.py +++ b/users_ldap_populate/models/users_ldap.py @@ -160,7 +160,7 @@ class CompanyLDAP(orm.Model): bool( self.get_ldap_entry_dicts( conf, - user_name=unknown_user.login, + user_name=unknown_user['login'], )) for conf in self.get_ldap_dicts(cr, ids) )