Skip to content

Commit 60aac03

Browse files
committed
Merge PR #674 into 17.0
Signed-off-by pedrobaeza
2 parents 7bf5379 + 965b875 commit 60aac03

24 files changed

Lines changed: 1195 additions & 0 deletions

pandoc-3.3-1-amd64.deb

30.2 MB
Binary file not shown.

users_ldap_mail/README.rst

Lines changed: 111 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,111 @@
1+
=====================================
2+
LDAP mapping for user name and e-mail
3+
=====================================
4+
5+
..
6+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
7+
!! This file is generated by oca-gen-addon-readme !!
8+
!! changes will be overwritten. !!
9+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
10+
!! source digest: sha256:2f2d14de733d4de9426f09be282f85343c8478e2456b54e04f3dc41bc0e45cb1
11+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
12+
13+
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
14+
:target: https://odoo-community.org/page/development-status
15+
:alt: Beta
16+
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
17+
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
18+
:alt: License: AGPL-3
19+
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fserver--auth-lightgray.png?logo=github
20+
:target: https://github.com/OCA/server-auth/tree/17.0/users_ldap_mail
21+
:alt: OCA/server-auth
22+
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
23+
:target: https://translation.odoo-community.org/projects/server-auth-17-0/server-auth-17-0-users_ldap_mail
24+
:alt: Translate me on Weblate
25+
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
26+
:target: https://runboat.odoo-community.org/builds?repo=OCA/server-auth&target_branch=17.0
27+
:alt: Try me on Runboat
28+
29+
|badge1| |badge2| |badge3| |badge4| |badge5|
30+
31+
This module extends the functionality of the auth_ldap module to support
32+
mail from LDAP and to allow you to get an e-mail address from LDAP
33+
accounts to Odoo users.
34+
35+
**Table of contents**
36+
37+
.. contents::
38+
:local:
39+
40+
Usage
41+
=====
42+
43+
To use this module, you need to:
44+
45+
1. Open Odoo in your browser
46+
2. Go to **Settings > General Settings**
47+
3. In the **Integrations** section click on **LDAP Server** under **LDAP
48+
Authentication**. This will allow you to create your LDAP integration
49+
settings.
50+
4. When creating or editing a record, under the **Process Parameter**
51+
section there are two new fields: mail and name, the name of these
52+
items will correspond with a new user that is created, when a user
53+
logs in via LDAP in Odoo.
54+
55+
Known issues / Roadmap
56+
======================
57+
58+
- Add tests (use LDAP Mocking through something like
59+
https://mockldap.readthedocs.io/en/latest/overview.html)
60+
61+
Bug Tracker
62+
===========
63+
64+
Bugs are tracked on `GitHub Issues <https://github.com/OCA/server-auth/issues>`_.
65+
In case of trouble, please check there if your issue has already been reported.
66+
If you spotted it first, help us to smash it by providing a detailed and welcomed
67+
`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**>`_.
68+
69+
Do not contact contributors directly about support or help with technical issues.
70+
71+
Credits
72+
=======
73+
74+
Authors
75+
-------
76+
77+
* Daniel Reis
78+
79+
Contributors
80+
------------
81+
82+
- Daniel Reis (https://launchpad.com/~dreis-pt),
83+
- `Tecnativa <https://www.tecnativa.com>`__:
84+
85+
- Alexandre Díaz
86+
- João Marques
87+
88+
Maintainers
89+
-----------
90+
91+
This module is maintained by the OCA.
92+
93+
.. image:: https://odoo-community.org/logo.png
94+
:alt: Odoo Community Association
95+
:target: https://odoo-community.org
96+
97+
OCA, or the Odoo Community Association, is a nonprofit organization whose
98+
mission is to support the collaborative development of Odoo features and
99+
promote its widespread use.
100+
101+
.. |maintainer-joao-p-marques| image:: https://github.com/joao-p-marques.png?size=40px
102+
:target: https://github.com/joao-p-marques
103+
:alt: joao-p-marques
104+
105+
Current `maintainer <https://odoo-community.org/page/maintainer-role>`__:
106+
107+
|maintainer-joao-p-marques|
108+
109+
This module is part of the `OCA/server-auth <https://github.com/OCA/server-auth/tree/17.0/users_ldap_mail>`_ project on GitHub.
110+
111+
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

users_ldap_mail/__init__.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Copyright Daniel Reis (https://launchpad.com/~dreis-pt)
2+
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
3+
4+
from . import models

users_ldap_mail/__manifest__.py

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# Copyright Daniel Reis (https://launchpad.com/~dreis-pt)
2+
# Copyright 2021 Tecnativa - João Marques
3+
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
4+
5+
{
6+
"name": "LDAP mapping for user name and e-mail",
7+
"version": "17.0.1.0.0",
8+
"depends": ["auth_ldap"],
9+
"author": "Daniel Reis," "Odoo Community Association (OCA)",
10+
"maintainers": ["joao-p-marques"],
11+
"website": "https://github.com/OCA/server-auth",
12+
"license": "AGPL-3",
13+
"category": "Tools",
14+
"data": ["views/res_company_ldap.xml"],
15+
"installable": True,
16+
}

users_ldap_mail/i18n/de.po

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
# Translation of Odoo Server.
2+
# This file contains the translation of the following modules:
3+
# * users_ldap_mail
4+
#
5+
# Translators:
6+
# Rudolf Schnapka <rs@techno-flex.de>, 2016
7+
msgid ""
8+
msgstr ""
9+
"Project-Id-Version: server-tools (9.0)\n"
10+
"Report-Msgid-Bugs-To: \n"
11+
"POT-Creation-Date: 2016-04-17 12:15+0000\n"
12+
"PO-Revision-Date: 2016-04-21 09:16+0000\n"
13+
"Last-Translator: Rudolf Schnapka <rs@techno-flex.de>\n"
14+
"Language-Team: German (http://www.transifex.com/oca/OCA-server-tools-9-0/"
15+
"language/de/)\n"
16+
"Language: de\n"
17+
"MIME-Version: 1.0\n"
18+
"Content-Type: text/plain; charset=UTF-8\n"
19+
"Content-Transfer-Encoding: \n"
20+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
21+
22+
#. module: users_ldap_mail
23+
#: model:ir.model.fields,help:users_ldap_mail.field_res_company_ldap__name_attribute
24+
msgid ""
25+
"By default 'cn' is used. For ActiveDirectory you might use 'displayName' "
26+
"instead."
27+
msgstr ""
28+
"'cn' wird per Vorgabe benutzt. Bei ActiveDirectory können Sie stattdessen "
29+
"'displayName' verwenden."
30+
31+
#. module: users_ldap_mail
32+
#: model:ir.model,name:users_ldap_mail.model_res_company_ldap
33+
msgid "Company LDAP configuration"
34+
msgstr ""
35+
36+
#. module: users_ldap_mail
37+
#: model:ir.model.fields,field_description:users_ldap_mail.field_res_company_ldap__mail_attribute
38+
msgid "E-mail attribute"
39+
msgstr "Email-Attribut"
40+
41+
#. module: users_ldap_mail
42+
#: model:ir.model.fields,help:users_ldap_mail.field_res_company_ldap__mail_attribute
43+
msgid "LDAP attribute to use to retrieve e-mail address."
44+
msgstr ""
45+
46+
#. module: users_ldap_mail
47+
#: model:ir.model.fields,field_description:users_ldap_mail.field_res_company_ldap__name_attribute
48+
msgid "Name Attribute"
49+
msgstr "Namens-Attribut"
50+
51+
#~ msgid "LDAP attribute to use to retrieve em-mail address."
52+
#~ msgstr "LDAP-Attribut, um eine Email-Adresse zu erhalten."
53+
54+
#~ msgid "res.company.ldap"
55+
#~ msgstr "res.company.ldap"

users_ldap_mail/i18n/es.po

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
# Translation of Odoo Server.
2+
# This file contains the translation of the following modules:
3+
# * users_ldap_mail
4+
#
5+
# Translators:
6+
# Antonio Trueba, 2016
7+
# Antonio Trueba, 2016
8+
msgid ""
9+
msgstr ""
10+
"Project-Id-Version: server-tools (9.0)\n"
11+
"Report-Msgid-Bugs-To: \n"
12+
"POT-Creation-Date: 2016-01-19 14:46+0000\n"
13+
"PO-Revision-Date: 2023-09-02 19:25+0000\n"
14+
"Last-Translator: Ivorra78 <informatica@totmaterial.es>\n"
15+
"Language-Team: Spanish (http://www.transifex.com/oca/OCA-server-tools-9-0/"
16+
"language/es/)\n"
17+
"Language: es\n"
18+
"MIME-Version: 1.0\n"
19+
"Content-Type: text/plain; charset=UTF-8\n"
20+
"Content-Transfer-Encoding: \n"
21+
"Plural-Forms: nplurals=2; plural=n != 1;\n"
22+
"X-Generator: Weblate 4.17\n"
23+
24+
#. module: users_ldap_mail
25+
#: model:ir.model.fields,help:users_ldap_mail.field_res_company_ldap__name_attribute
26+
msgid ""
27+
"By default 'cn' is used. For ActiveDirectory you might use 'displayName' "
28+
"instead."
29+
msgstr ""
30+
"Por defecto se usa «cn». En Directorio Activo se podría usar «displayName» "
31+
"en su lugar."
32+
33+
#. module: users_ldap_mail
34+
#: model:ir.model,name:users_ldap_mail.model_res_company_ldap
35+
msgid "Company LDAP configuration"
36+
msgstr "Configuración LDAP de la Compañía"
37+
38+
#. module: users_ldap_mail
39+
#: model:ir.model.fields,field_description:users_ldap_mail.field_res_company_ldap__mail_attribute
40+
msgid "E-mail attribute"
41+
msgstr "Atributo e-mail"
42+
43+
#. module: users_ldap_mail
44+
#: model:ir.model.fields,help:users_ldap_mail.field_res_company_ldap__mail_attribute
45+
msgid "LDAP attribute to use to retrieve e-mail address."
46+
msgstr ""
47+
"Atributo LDAP a utilizar para recuperar la dirección de correo electrónico."
48+
49+
#. module: users_ldap_mail
50+
#: model:ir.model.fields,field_description:users_ldap_mail.field_res_company_ldap__name_attribute
51+
msgid "Name Attribute"
52+
msgstr "Atributo Nombre"
53+
54+
#~ msgid "LDAP attribute to use to retrieve em-mail address."
55+
#~ msgstr "Atributo LDAP a utilizar para recumerar la dirección em-mail."
56+
57+
#~ msgid "res.company.ldap"
58+
#~ msgstr "res.company.ldap"

users_ldap_mail/i18n/fr.po

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
# Translation of Odoo Server.
2+
# This file contains the translation of the following modules:
3+
# * users_ldap_mail
4+
#
5+
# Translators:
6+
msgid ""
7+
msgstr ""
8+
"Project-Id-Version: server-tools (9.0)\n"
9+
"Report-Msgid-Bugs-To: \n"
10+
"POT-Creation-Date: 2016-01-19 14:46+0000\n"
11+
"PO-Revision-Date: 2015-12-13 15:21+0000\n"
12+
"Last-Translator: <>\n"
13+
"Language-Team: French (http://www.transifex.com/oca/OCA-server-tools-9-0/"
14+
"language/fr/)\n"
15+
"Language: fr\n"
16+
"MIME-Version: 1.0\n"
17+
"Content-Type: text/plain; charset=UTF-8\n"
18+
"Content-Transfer-Encoding: \n"
19+
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
20+
21+
#. module: users_ldap_mail
22+
#: model:ir.model.fields,help:users_ldap_mail.field_res_company_ldap__name_attribute
23+
msgid ""
24+
"By default 'cn' is used. For ActiveDirectory you might use 'displayName' "
25+
"instead."
26+
msgstr ""
27+
28+
#. module: users_ldap_mail
29+
#: model:ir.model,name:users_ldap_mail.model_res_company_ldap
30+
msgid "Company LDAP configuration"
31+
msgstr ""
32+
33+
#. module: users_ldap_mail
34+
#: model:ir.model.fields,field_description:users_ldap_mail.field_res_company_ldap__mail_attribute
35+
msgid "E-mail attribute"
36+
msgstr ""
37+
38+
#. module: users_ldap_mail
39+
#: model:ir.model.fields,help:users_ldap_mail.field_res_company_ldap__mail_attribute
40+
msgid "LDAP attribute to use to retrieve e-mail address."
41+
msgstr ""
42+
43+
#. module: users_ldap_mail
44+
#: model:ir.model.fields,field_description:users_ldap_mail.field_res_company_ldap__name_attribute
45+
msgid "Name Attribute"
46+
msgstr ""
47+
48+
#~ msgid "res.company.ldap"
49+
#~ msgstr "res.company.ldap"

users_ldap_mail/i18n/hr.po

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
# Translation of Odoo Server.
2+
# This file contains the translation of the following modules:
3+
# * users_ldap_mail
4+
#
5+
# Translators:
6+
# OCA Transbot <transbot@odoo-community.org>, 2017
7+
# Bole <bole@dajmi5.com>, 2017
8+
msgid ""
9+
msgstr ""
10+
"Project-Id-Version: Odoo Server 10.0\n"
11+
"Report-Msgid-Bugs-To: \n"
12+
"POT-Creation-Date: 2017-05-10 00:47+0000\n"
13+
"PO-Revision-Date: 2017-05-10 00:47+0000\n"
14+
"Last-Translator: Bole <bole@dajmi5.com>, 2017\n"
15+
"Language-Team: Croatian (https://www.transifex.com/oca/teams/23907/hr/)\n"
16+
"Language: hr\n"
17+
"MIME-Version: 1.0\n"
18+
"Content-Type: text/plain; charset=UTF-8\n"
19+
"Content-Transfer-Encoding: \n"
20+
"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
21+
"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
22+
23+
#. module: users_ldap_mail
24+
#: model:ir.model.fields,help:users_ldap_mail.field_res_company_ldap__name_attribute
25+
msgid ""
26+
"By default 'cn' is used. For ActiveDirectory you might use 'displayName' "
27+
"instead."
28+
msgstr ""
29+
"Zadano se koristi 'CN'. za ActiveDirectory možete koristiti 'displayName' "
30+
"umjesto zadanog."
31+
32+
#. module: users_ldap_mail
33+
#: model:ir.model,name:users_ldap_mail.model_res_company_ldap
34+
msgid "Company LDAP configuration"
35+
msgstr ""
36+
37+
#. module: users_ldap_mail
38+
#: model:ir.model.fields,field_description:users_ldap_mail.field_res_company_ldap__mail_attribute
39+
msgid "E-mail attribute"
40+
msgstr "Atribut e-mail"
41+
42+
#. module: users_ldap_mail
43+
#: model:ir.model.fields,help:users_ldap_mail.field_res_company_ldap__mail_attribute
44+
msgid "LDAP attribute to use to retrieve e-mail address."
45+
msgstr ""
46+
47+
#. module: users_ldap_mail
48+
#: model:ir.model.fields,field_description:users_ldap_mail.field_res_company_ldap__name_attribute
49+
msgid "Name Attribute"
50+
msgstr "Atribut naziva"
51+
52+
#~ msgid "LDAP attribute to use to retrieve em-mail address."
53+
#~ msgstr "LDAP atribut za dohvat email adresa."
54+
55+
#~ msgid "res.company.ldap"
56+
#~ msgstr "res.company.ldap"

0 commit comments

Comments
 (0)