would not always archive users, esp. when run from a cron
on the way:
* add some logs to help check what's going on
* use sets to remove duplicates
* don't query all ldap configurations if one has said the user must be archived
when the LDAP search returns values for a user existing in Odoo but
deactivated, the 'deactivate unknown users' feature was silently disabled.
This commit changes the behavior to reactivate the user in Odoo
* [ADD] possibility to deactivate users not found in ldap while populating
* [IMP] search in ldap for every possibly unknown user to be really sure it
actually is not present there
* [FIX] refactoring mistake
* [IMP] don't use self.query() to be sure to be stopped if any error occurs
* [IMP] remove superfluous check as exceptions are not supressed any more
* [FIX] typo in variable name
[FIX] handle unicode characters in search filter
[FIX] search for user's login, not her name
* [FIX] don't pass user_name as assertion_value
* [FIX] don't deactivate users if we got a non-existent ldap configuration
* [FIX] flake8
* [FIX] more flake8
* [FIX] make form usable
* [FIX] name clash between function and field
* [ADD] test
* [MIG] migrate users_ldap_populate to 10.0
Changes include:
- move views to views folder
- move models to models folder
- in views rename openerp to odoo
- __openerp__.py to __manifest__.py
* [FIX] Add read me to module users_ldap_populate
* [FIX] users_ldap_populate: cleanup manifest file
Cleanup of the author list
* [FIX] users_ldap_populate: More modern copyright in .py files
* [FIX] users_ldap_populate: Update read me
Fixes include:
- more human module name
- Fix web links
In order to get visibility on https://www.odoo.com/apps the OCA board has
decided to add the OCA as author of all the addons maintained as part of the
association.