From eefbafcf90ef361ee0dba8a8c4fe7a1247253be9 Mon Sep 17 00:00:00 2001 From: CarlosRoca13 Date: Mon, 28 Mar 2022 13:17:02 +0200 Subject: [PATCH] [MIG] users_ldap_populate: Migration to 14.0 --- users_ldap_populate/README.rst | 26 ++++++---- users_ldap_populate/__manifest__.py | 8 ++- users_ldap_populate/i18n/it.po | 13 ++--- users_ldap_populate/i18n/sl.po | 11 ++-- .../i18n/users_ldap_populate.pot | 5 +- users_ldap_populate/readme/CONTRIBUTORS.rst | 3 +- .../security/ir.model.access.csv | 2 + .../static/description/index.html | 51 ++++++++++--------- .../tests/test_users_ldap_populate.py | 6 +-- 9 files changed, 72 insertions(+), 53 deletions(-) create mode 100644 users_ldap_populate/security/ir.model.access.csv diff --git a/users_ldap_populate/README.rst b/users_ldap_populate/README.rst index ee781974a3..727b4e3f89 100644 --- a/users_ldap_populate/README.rst +++ b/users_ldap_populate/README.rst @@ -2,10 +2,13 @@ LDAP Populate ============= -.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! +.. + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! source digest: sha256:eb65c8768a3d64adb8e08de006eece48f104e50660e6b5024223ba29657b63e1 + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! .. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png :target: https://odoo-community.org/page/development-status @@ -14,16 +17,16 @@ LDAP Populate :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/13.0/users_ldap_populate + :target: https://github.com/OCA/server-auth/tree/14.0/users_ldap_populate :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-13-0/server-auth-13-0-users_ldap_populate + :target: https://translation.odoo-community.org/projects/server-auth-14-0/server-auth-14-0-users_ldap_populate :alt: Translate me on Weblate -.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png - :target: https://runbot.odoo-community.org/runbot/251/13.0 - :alt: Try me on Runbot +.. |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=14.0 + :alt: Try me on Runboat -|badge1| |badge2| |badge3| |badge4| |badge5| +|badge1| |badge2| |badge3| |badge4| |badge5| This module extends the functionality of auth_ldap by adding functionality so that users can be populated from a LDAP server. @@ -54,8 +57,8 @@ 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 smashing it by providing a detailed and welcomed -`feedback `_. +If you spotted it first, help us to smash it by providing a detailed and welcomed +`feedback `_. Do not contact contributors directly about support or help with technical issues. @@ -71,10 +74,11 @@ Contributors ~~~~~~~~~~~~ * Therp BV -* Tecnativa +* `Tecnativa `_: * Alexandre Díaz * João Marques + * Carlos Roca Maintainers ~~~~~~~~~~~ @@ -97,6 +101,6 @@ Current `maintainer `__: |maintainer-joao-p-marques| -This module is part of the `OCA/server-auth `_ project on GitHub. +This module is part of the `OCA/server-auth `_ project on GitHub. You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/users_ldap_populate/__manifest__.py b/users_ldap_populate/__manifest__.py index 93c221ccec..0dda27d6a5 100644 --- a/users_ldap_populate/__manifest__.py +++ b/users_ldap_populate/__manifest__.py @@ -3,7 +3,7 @@ # License AGPL-3.0 or later (http://www.gnu.org/licenses/gpl.html). { "name": "LDAP Populate", - "version": "13.0.1.0.0", + "version": "14.0.1.0.0", "author": "Therp BV, Odoo Community Association (OCA)", "maintainers": ["joao-p-marques"], "website": "https://github.com/OCA/server-auth", @@ -11,6 +11,10 @@ "category": "Tools", "depends": ["auth_ldap"], "external_dependencies": {"python": ["python-ldap"]}, - "data": ["views/users_ldap.xml", "views/populate_wizard.xml"], + "data": [ + "security/ir.model.access.csv", + "views/users_ldap.xml", + "views/populate_wizard.xml", + ], "installable": True, } diff --git a/users_ldap_populate/i18n/it.po b/users_ldap_populate/i18n/it.po index 804378ddd9..6faeed7152 100644 --- a/users_ldap_populate/i18n/it.po +++ b/users_ldap_populate/i18n/it.po @@ -10,14 +10,15 @@ msgstr "" "Project-Id-Version: Odoo Server 10.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2020-06-26 20:39+0000\n" -"PO-Revision-Date: 2018-01-06 02:25+0000\n" -"Last-Translator: OCA Transbot , 2017\n" +"PO-Revision-Date: 2023-04-17 16:35+0000\n" +"Last-Translator: mymage \n" "Language-Team: Italian (https://www.transifex.com/oca/teams/23907/it/)\n" "Language: it\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" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 4.14.1\n" #. module: users_ldap_populate #: model_terms:ir.ui.view,arch_db:users_ldap_populate.populate_wizard_view @@ -47,7 +48,7 @@ msgstr "" #. module: users_ldap_populate #: model:ir.model.fields,field_description:users_ldap_populate.field_res_company_ldap_populate_wizard__display_name msgid "Display Name" -msgstr "Nome da visualizzare" +msgstr "Nome visualizzato" #. module: users_ldap_populate #: model:ir.model.fields,field_description:users_ldap_populate.field_res_company_ldap_populate_wizard__id @@ -67,12 +68,12 @@ msgstr "Ultima modifica il" #. module: users_ldap_populate #: model:ir.model.fields,field_description:users_ldap_populate.field_res_company_ldap_populate_wizard__write_uid msgid "Last Updated by" -msgstr "Last Updated by" +msgstr "Ultimo aggiornamento di" #. module: users_ldap_populate #: model:ir.model.fields,field_description:users_ldap_populate.field_res_company_ldap_populate_wizard__write_date msgid "Last Updated on" -msgstr "Last Updated on" +msgstr "Ultimo aggiornamento il" #. module: users_ldap_populate #: model:ir.model.fields,help:users_ldap_populate.field_res_company_ldap__no_deactivate_user_ids diff --git a/users_ldap_populate/i18n/sl.po b/users_ldap_populate/i18n/sl.po index fdbcf54a74..34591c7262 100644 --- a/users_ldap_populate/i18n/sl.po +++ b/users_ldap_populate/i18n/sl.po @@ -9,15 +9,16 @@ msgstr "" "Project-Id-Version: Odoo Server 10.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2020-06-26 20:39+0000\n" -"PO-Revision-Date: 2017-12-01 02:11+0000\n" -"Last-Translator: OCA Transbot , 2017\n" +"PO-Revision-Date: 2023-03-31 21:25+0000\n" +"Last-Translator: Matjaz Mozetic \n" "Language-Team: Slovenian (https://www.transifex.com/oca/teams/23907/sl/)\n" "Language: sl\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n" -"%100==4 ? 2 : 3);\n" +"Plural-Forms: nplurals=4; plural=n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n" +"%100==4 ? 2 : 3;\n" +"X-Generator: Weblate 4.14.1\n" #. module: users_ldap_populate #: model_terms:ir.ui.view,arch_db:users_ldap_populate.populate_wizard_view @@ -48,7 +49,7 @@ msgstr "" #. module: users_ldap_populate #: model:ir.model.fields,field_description:users_ldap_populate.field_res_company_ldap_populate_wizard__display_name msgid "Display Name" -msgstr "Prikazni naziv" +msgstr "Prikazani naziv" #. module: users_ldap_populate #: model:ir.model.fields,field_description:users_ldap_populate.field_res_company_ldap_populate_wizard__id diff --git a/users_ldap_populate/i18n/users_ldap_populate.pot b/users_ldap_populate/i18n/users_ldap_populate.pot index 4791686ca6..4ee834d8aa 100644 --- a/users_ldap_populate/i18n/users_ldap_populate.pot +++ b/users_ldap_populate/i18n/users_ldap_populate.pot @@ -4,7 +4,7 @@ # msgid "" msgstr "" -"Project-Id-Version: Odoo Server 13.0\n" +"Project-Id-Version: Odoo Server 14.0\n" "Report-Msgid-Bugs-To: \n" "Last-Translator: \n" "Language-Team: \n" @@ -39,11 +39,13 @@ msgid "Deactivate unknown users" msgstr "" #. module: users_ldap_populate +#: model:ir.model.fields,field_description:users_ldap_populate.field_res_company_ldap__display_name #: model:ir.model.fields,field_description:users_ldap_populate.field_res_company_ldap_populate_wizard__display_name msgid "Display Name" msgstr "" #. module: users_ldap_populate +#: model:ir.model.fields,field_description:users_ldap_populate.field_res_company_ldap__id #: model:ir.model.fields,field_description:users_ldap_populate.field_res_company_ldap_populate_wizard__id msgid "ID" msgstr "" @@ -54,6 +56,7 @@ msgid "LDAP Configuration" msgstr "" #. module: users_ldap_populate +#: model:ir.model.fields,field_description:users_ldap_populate.field_res_company_ldap____last_update #: model:ir.model.fields,field_description:users_ldap_populate.field_res_company_ldap_populate_wizard____last_update msgid "Last Modified on" msgstr "" diff --git a/users_ldap_populate/readme/CONTRIBUTORS.rst b/users_ldap_populate/readme/CONTRIBUTORS.rst index 03c1018a5f..ea5370a9c1 100644 --- a/users_ldap_populate/readme/CONTRIBUTORS.rst +++ b/users_ldap_populate/readme/CONTRIBUTORS.rst @@ -1,5 +1,6 @@ * Therp BV -* Tecnativa +* `Tecnativa `_: * Alexandre Díaz * João Marques + * Carlos Roca diff --git a/users_ldap_populate/security/ir.model.access.csv b/users_ldap_populate/security/ir.model.access.csv new file mode 100644 index 0000000000..a53c5d34d2 --- /dev/null +++ b/users_ldap_populate/security/ir.model.access.csv @@ -0,0 +1,2 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +access_res_company_ldap_populate_wizard,access_res_company_ldap_populate_wizard,model_res_company_ldap_populate_wizard,base.group_system,1,1,1,1 diff --git a/users_ldap_populate/static/description/index.html b/users_ldap_populate/static/description/index.html index 2ea4353c74..5c9eabe8f7 100644 --- a/users_ldap_populate/static/description/index.html +++ b/users_ldap_populate/static/description/index.html @@ -1,20 +1,20 @@ - + - + LDAP Populate