diff --git a/README.md b/README.md index 0a2f4cc066..6a6242e21a 100644 --- a/README.md +++ b/README.md @@ -38,7 +38,7 @@ addon | version | maintainers | summary [impersonate_login](impersonate_login/) | 17.0.1.0.2 | Kev-Roche | tools [password_security](password_security/) | 17.0.2.0.0 | | Allow admin to set password security requirements. [user_log_view](user_log_view/) | 17.0.1.0.0 | trojikman | Allow to see user's actions log -[users_ldap_populate](users_ldap_populate/) | 17.0.1.0.0 | joao-p-marques | LDAP Populate +[users_ldap_populate](users_ldap_populate/) | 17.0.1.0.1 | joao-p-marques | LDAP Populate [//]: # (end addons) diff --git a/pandoc-3.3-1-amd64.deb b/pandoc-3.3-1-amd64.deb deleted file mode 100644 index 65e9c2d900..0000000000 Binary files a/pandoc-3.3-1-amd64.deb and /dev/null differ diff --git a/users_ldap_populate/README.rst b/users_ldap_populate/README.rst index 53b9c8a7c0..cd6fa7232d 100644 --- a/users_ldap_populate/README.rst +++ b/users_ldap_populate/README.rst @@ -1,3 +1,7 @@ +.. image:: https://odoo-community.org/readme-banner-image + :target: https://odoo-community.org/get-involved?utm_source=readme + :alt: Odoo Community Association + ============= LDAP Populate ============= @@ -7,13 +11,13 @@ LDAP Populate !! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - !! source digest: sha256:a966c208d29cf07fbef7c2fa70c82714faad3e0e9864f8b76e076cbfc6c2dac2 + !! source digest: sha256:4eb3cab1122e35773a183c1ec5450f73de46c048210cddf536bc7aa0e138cf42 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! .. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png :target: https://odoo-community.org/page/development-status :alt: Beta -.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png +.. |badge2| image:: https://img.shields.io/badge/license-AGPL--3-blue.png :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html :alt: License: AGPL-3 .. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fserver--auth-lightgray.png?logo=github diff --git a/users_ldap_populate/__manifest__.py b/users_ldap_populate/__manifest__.py index 2920e3372b..a042dbaa58 100644 --- a/users_ldap_populate/__manifest__.py +++ b/users_ldap_populate/__manifest__.py @@ -5,7 +5,7 @@ { "name": "LDAP Populate", - "version": "17.0.1.0.0", + "version": "17.0.1.0.1", "author": "Therp BV, Odoo Community Association (OCA)", "maintainers": ["joao-p-marques"], "website": "https://github.com/OCA/server-auth", diff --git a/users_ldap_populate/models/users_ldap.py b/users_ldap_populate/models/users_ldap.py index ea775702f5..14884d7686 100644 --- a/users_ldap_populate/models/users_ldap.py +++ b/users_ldap_populate/models/users_ldap.py @@ -66,6 +66,8 @@ def action_populate(self): results = self._get_ldap_entry_dicts(conf) for result in results: login = result[1][login_attr][0].lower().strip() + if isinstance(login, bytes): + login = login.decode() user_id = None try: user_id = self.with_context( diff --git a/users_ldap_populate/static/description/index.html b/users_ldap_populate/static/description/index.html index de113823ae..06771b7baa 100644 --- a/users_ldap_populate/static/description/index.html +++ b/users_ldap_populate/static/description/index.html @@ -3,7 +3,7 @@ -LDAP Populate +README.rst -
-

LDAP Populate

+
+ + +Odoo Community Association + +
+

LDAP Populate

-

Beta License: AGPL-3 OCA/server-auth Translate me on Weblate Try me on Runboat

+

Beta License: AGPL-3 OCA/server-auth Translate me on Weblate Try me on Runboat

This module extends the functionality of auth_ldap by adding functionality so that users can be populated from a LDAP server.

Table of contents

@@ -387,7 +392,7 @@

LDAP Populate

-

Usage

+

Usage

To use this module, you need to:

  1. Go to ‘Settings’ -> ‘General Settings’
  2. @@ -398,14 +403,14 @@

    Usage

-

Known issues / Roadmap

+

Known issues / Roadmap

  • Improve test coverage and port its LDAP Patch method to a module where they can be imported and reutilized on other tests.
-

Bug Tracker

+

Bug Tracker

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed @@ -413,15 +418,15 @@

Bug Tracker

Do not contact contributors directly about support or help with technical issues.

-

Credits

+

Credits

-

Authors

+

Authors

  • Therp BV
-

Maintainers

+

Maintainers

This module is maintained by the OCA.

Odoo Community Association @@ -449,5 +454,6 @@

Maintainers

+