Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[17.0][MIG] users_ldap_mail: Migration to 17.0 #674

Open
wants to merge 18 commits into
base: 17.0
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added pandoc-3.3-1-amd64.deb
Binary file not shown.
111 changes: 111 additions & 0 deletions users_ldap_mail/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,111 @@
=====================================
LDAP mapping for user name and e-mail
=====================================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:2f2d14de733d4de9426f09be282f85343c8478e2456b54e04f3dc41bc0e45cb1
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |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
: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
:target: https://github.com/OCA/server-auth/tree/17.0/users_ldap_mail
:alt: OCA/server-auth
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/server-auth-17-0/server-auth-17-0-users_ldap_mail
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
:target: https://runboat.odoo-community.org/builds?repo=OCA/server-auth&target_branch=17.0
:alt: Try me on Runboat

|badge1| |badge2| |badge3| |badge4| |badge5|

This module extends the functionality of the auth_ldap module to support
mail from LDAP and to allow you to get an e-mail address from LDAP
accounts to Odoo users.

**Table of contents**

.. contents::
:local:

Usage
=====

To use this module, you need to:

1. Open Odoo in your browser
2. Go to **Settings > General Settings**
3. In the **Integrations** section click on **LDAP Server** under **LDAP
Authentication**. This will allow you to create your LDAP integration
settings.
4. When creating or editing a record, under the **Process Parameter**
section there are two new fields: mail and name, the name of these
items will correspond with a new user that is created, when a user
logs in via LDAP in Odoo.

Known issues / Roadmap
======================

- Add tests (use LDAP Mocking through something like
https://mockldap.readthedocs.io/en/latest/overview.html)

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/server-auth/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
`feedback <https://github.com/OCA/server-auth/issues/new?body=module:%20users_ldap_mail%0Aversion:%2017.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

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

Credits
=======

Authors
-------

* Daniel Reis

Contributors
------------

- Daniel Reis (https://launchpad.com/~dreis-pt),
- `Tecnativa <https://www.tecnativa.com>`__:

- Alexandre Díaz
- João Marques

Maintainers
-----------

This module is maintained by the OCA.

.. image:: https://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: https://odoo-community.org

OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.

.. |maintainer-joao-p-marques| image:: https://github.com/joao-p-marques.png?size=40px
:target: https://github.com/joao-p-marques
:alt: joao-p-marques

Current `maintainer <https://odoo-community.org/page/maintainer-role>`__:

|maintainer-joao-p-marques|

This module is part of the `OCA/server-auth <https://github.com/OCA/server-auth/tree/17.0/users_ldap_mail>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
4 changes: 4 additions & 0 deletions users_ldap_mail/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Copyright Daniel Reis (https://launchpad.com/~dreis-pt)
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).

from . import models
16 changes: 16 additions & 0 deletions users_ldap_mail/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Copyright Daniel Reis (https://launchpad.com/~dreis-pt)
# Copyright 2021 Tecnativa - João Marques
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).

{
"name": "LDAP mapping for user name and e-mail",
"version": "17.0.1.0.0",
"depends": ["auth_ldap"],
"author": "Daniel Reis," "Odoo Community Association (OCA)",
"maintainers": ["joao-p-marques"],
"website": "https://github.com/OCA/server-auth",
"license": "AGPL-3",
"category": "Tools",
"data": ["views/res_company_ldap.xml"],
"installable": True,
}
55 changes: 55 additions & 0 deletions users_ldap_mail/i18n/de.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * users_ldap_mail
#
# Translators:
# Rudolf Schnapka <[email protected]>, 2016
msgid ""
msgstr ""
"Project-Id-Version: server-tools (9.0)\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-04-17 12:15+0000\n"
"PO-Revision-Date: 2016-04-21 09:16+0000\n"
"Last-Translator: Rudolf Schnapka <[email protected]>\n"
"Language-Team: German (http://www.transifex.com/oca/OCA-server-tools-9-0/"
"language/de/)\n"
"Language: de\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

#. module: users_ldap_mail
#: model:ir.model.fields,help:users_ldap_mail.field_res_company_ldap__name_attribute
msgid ""
"By default 'cn' is used. For ActiveDirectory you might use 'displayName' "
"instead."
msgstr ""
"'cn' wird per Vorgabe benutzt. Bei ActiveDirectory können Sie stattdessen "
"'displayName' verwenden."

#. module: users_ldap_mail
#: model:ir.model,name:users_ldap_mail.model_res_company_ldap
msgid "Company LDAP configuration"
msgstr ""

#. module: users_ldap_mail
#: model:ir.model.fields,field_description:users_ldap_mail.field_res_company_ldap__mail_attribute
msgid "E-mail attribute"
msgstr "Email-Attribut"

#. module: users_ldap_mail
#: model:ir.model.fields,help:users_ldap_mail.field_res_company_ldap__mail_attribute
msgid "LDAP attribute to use to retrieve e-mail address."
msgstr ""

#. module: users_ldap_mail
#: model:ir.model.fields,field_description:users_ldap_mail.field_res_company_ldap__name_attribute
msgid "Name Attribute"
msgstr "Namens-Attribut"

#~ msgid "LDAP attribute to use to retrieve em-mail address."
#~ msgstr "LDAP-Attribut, um eine Email-Adresse zu erhalten."

#~ msgid "res.company.ldap"
#~ msgstr "res.company.ldap"
58 changes: 58 additions & 0 deletions users_ldap_mail/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * users_ldap_mail
#
# Translators:
# Antonio Trueba, 2016
# Antonio Trueba, 2016
msgid ""
msgstr ""
"Project-Id-Version: server-tools (9.0)\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-01-19 14:46+0000\n"
"PO-Revision-Date: 2023-09-02 19:25+0000\n"
"Last-Translator: Ivorra78 <[email protected]>\n"
"Language-Team: Spanish (http://www.transifex.com/oca/OCA-server-tools-9-0/"
"language/es/)\n"
"Language: es\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 4.17\n"

#. module: users_ldap_mail
#: model:ir.model.fields,help:users_ldap_mail.field_res_company_ldap__name_attribute
msgid ""
"By default 'cn' is used. For ActiveDirectory you might use 'displayName' "
"instead."
msgstr ""
"Por defecto se usa «cn». En Directorio Activo se podría usar «displayName» "
"en su lugar."

#. module: users_ldap_mail
#: model:ir.model,name:users_ldap_mail.model_res_company_ldap
msgid "Company LDAP configuration"
msgstr "Configuración LDAP de la Compañía"

#. module: users_ldap_mail
#: model:ir.model.fields,field_description:users_ldap_mail.field_res_company_ldap__mail_attribute
msgid "E-mail attribute"
msgstr "Atributo e-mail"

#. module: users_ldap_mail
#: model:ir.model.fields,help:users_ldap_mail.field_res_company_ldap__mail_attribute
msgid "LDAP attribute to use to retrieve e-mail address."
msgstr ""
"Atributo LDAP a utilizar para recuperar la dirección de correo electrónico."

#. module: users_ldap_mail
#: model:ir.model.fields,field_description:users_ldap_mail.field_res_company_ldap__name_attribute
msgid "Name Attribute"
msgstr "Atributo Nombre"

#~ msgid "LDAP attribute to use to retrieve em-mail address."
#~ msgstr "Atributo LDAP a utilizar para recumerar la dirección em-mail."

#~ msgid "res.company.ldap"
#~ msgstr "res.company.ldap"
49 changes: 49 additions & 0 deletions users_ldap_mail/i18n/fr.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * users_ldap_mail
#
# Translators:
msgid ""
msgstr ""
"Project-Id-Version: server-tools (9.0)\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-01-19 14:46+0000\n"
"PO-Revision-Date: 2015-12-13 15:21+0000\n"
"Last-Translator: <>\n"
"Language-Team: French (http://www.transifex.com/oca/OCA-server-tools-9-0/"
"language/fr/)\n"
"Language: fr\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"

#. module: users_ldap_mail
#: model:ir.model.fields,help:users_ldap_mail.field_res_company_ldap__name_attribute
msgid ""
"By default 'cn' is used. For ActiveDirectory you might use 'displayName' "
"instead."
msgstr ""

#. module: users_ldap_mail
#: model:ir.model,name:users_ldap_mail.model_res_company_ldap
msgid "Company LDAP configuration"
msgstr ""

#. module: users_ldap_mail
#: model:ir.model.fields,field_description:users_ldap_mail.field_res_company_ldap__mail_attribute
msgid "E-mail attribute"
msgstr ""

#. module: users_ldap_mail
#: model:ir.model.fields,help:users_ldap_mail.field_res_company_ldap__mail_attribute
msgid "LDAP attribute to use to retrieve e-mail address."
msgstr ""

#. module: users_ldap_mail
#: model:ir.model.fields,field_description:users_ldap_mail.field_res_company_ldap__name_attribute
msgid "Name Attribute"
msgstr ""

#~ msgid "res.company.ldap"
#~ msgstr "res.company.ldap"
56 changes: 56 additions & 0 deletions users_ldap_mail/i18n/hr.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * users_ldap_mail
#
# Translators:
# OCA Transbot <[email protected]>, 2017
# Bole <[email protected]>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-05-10 00:47+0000\n"
"PO-Revision-Date: 2017-05-10 00:47+0000\n"
"Last-Translator: Bole <[email protected]>, 2017\n"
"Language-Team: Croatian (https://www.transifex.com/oca/teams/23907/hr/)\n"
"Language: hr\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"

#. module: users_ldap_mail
#: model:ir.model.fields,help:users_ldap_mail.field_res_company_ldap__name_attribute
msgid ""
"By default 'cn' is used. For ActiveDirectory you might use 'displayName' "
"instead."
msgstr ""
"Zadano se koristi 'CN'. za ActiveDirectory možete koristiti 'displayName' "
"umjesto zadanog."

#. module: users_ldap_mail
#: model:ir.model,name:users_ldap_mail.model_res_company_ldap
msgid "Company LDAP configuration"
msgstr ""

#. module: users_ldap_mail
#: model:ir.model.fields,field_description:users_ldap_mail.field_res_company_ldap__mail_attribute
msgid "E-mail attribute"
msgstr "Atribut e-mail"

#. module: users_ldap_mail
#: model:ir.model.fields,help:users_ldap_mail.field_res_company_ldap__mail_attribute
msgid "LDAP attribute to use to retrieve e-mail address."
msgstr ""

#. module: users_ldap_mail
#: model:ir.model.fields,field_description:users_ldap_mail.field_res_company_ldap__name_attribute
msgid "Name Attribute"
msgstr "Atribut naziva"

#~ msgid "LDAP attribute to use to retrieve em-mail address."
#~ msgstr "LDAP atribut za dohvat email adresa."

#~ msgid "res.company.ldap"
#~ msgstr "res.company.ldap"
Loading
Loading