diff --git a/partner_deduplicate_acl/README.rst b/partner_deduplicate_acl/README.rst index 579f3f345..5ce028f97 100644 --- a/partner_deduplicate_acl/README.rst +++ b/partner_deduplicate_acl/README.rst @@ -1,15 +1,39 @@ -.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg - :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html - :alt: License: AGPL-3 - ======================== Deduplicate Contacts ACL ======================== +.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |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%2Fcrm-lightgray.png?logo=github + :target: https://github.com/OCA/crm/tree/12.0/crm_deduplicate_acl + :alt: OCA/crm +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/crm-12-0/crm-12-0-crm_deduplicate_acl + :alt: Translate me on Weblate +.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png + :target: https://runbot.odoo-community.org/runbot/111/12.0 + :alt: Try me on Runbot + +|badge1| |badge2| |badge3| |badge4| |badge5| + This module extends the functionality of the CRM contact deduplicator to add permission groups that allow the matching users to use those tools, not needing to be the sale settings manager. +**Table of contents** + +.. contents:: + :local: + Configuration ============= @@ -44,52 +68,47 @@ To use this module, you need to: #. Ask your admin to give you the new rights. #. Go to *CRM > Tools > Deduplicate Contacts* as usual. -.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas - :alt: Try me on Runbot - :target: https://runbot.odoo-community.org/runbot/111/11.0 - -Known issues / Roadmap -====================== - - 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. +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 `_. + +Do not contact contributors directly about support or help with technical issues. Credits ======= -Images ------- +Authors +~~~~~~~ -* Odoo Community Association: `Icon `_. -* `Arrow `_. -* `Lock `_. +* Tecnativa Contributors ------------- +~~~~~~~~~~~~ * Rafael Blasco * Jairo Llopis * Vicent Cubells * Pedro M. Baeza * Luis M. Ontalba +* Victor M.M. Torres + +Maintainers +~~~~~~~~~~~ -Maintainer ----------- +This module is maintained by the OCA. .. image:: https://odoo-community.org/logo.png :alt: Odoo Community Association :target: https://odoo-community.org -This module is maintained by the OCA. - 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. -To contribute to this module, please visit https://odoo-community.org. +This module is part of the `OCA/crm `_ project on GitHub. + +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/partner_deduplicate_acl/__manifest__.py b/partner_deduplicate_acl/__manifest__.py index 59c92f7c0..67dec46d8 100644 --- a/partner_deduplicate_acl/__manifest__.py +++ b/partner_deduplicate_acl/__manifest__.py @@ -1,12 +1,13 @@ # Copyright 2016 Tecnativa - Jairo Llopis # Copyright 2016 Tecnativa - Vicent Cubells # Copyright 2017-2018 Tecnativa - Pedro M. Baeza +# Copyright 2019 Tecnativa - Victor M.M. Torres # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). { "name": "Deduplicate Contacts ACL", "summary": "Contact deduplication with fine-grained permission control", - "version": "11.0.1.0.0", + "version": "12.0.1.0.0", "category": "Tools", "website": "https://github.com/OCA/crm", "author": "Tecnativa, " diff --git a/partner_deduplicate_acl/readme/CONFIGURE.rst b/partner_deduplicate_acl/readme/CONFIGURE.rst new file mode 100644 index 000000000..f1fcf8666 --- /dev/null +++ b/partner_deduplicate_acl/readme/CONFIGURE.rst @@ -0,0 +1,22 @@ +To configure this module, you need to: + +#. Go to *Settings > Users > Users*. +#. Choose a user. +#. Choose the desired permission level(s) in *Appplication > Deduplicate + Contacts*: + + - *Manually* allows him to do the manual deduplication process. + - *Automatically* allows him to do the automatic deduplication process. + + .. warning:: + Automatic contact deduplication can easily lead to unwanted results. + Better backup before doing it. + + - *Without restrictions* executes the chosen deduplication method with admin + rigts, to be able to update objects where the user would normally not have + write rights, and to allow him to merge contacts with different email + addresses. + + .. warning:: + This is an advanced feature, be sure to train the user before enabling + this permission for him. diff --git a/partner_deduplicate_acl/readme/CONTRIBUTORS.rst b/partner_deduplicate_acl/readme/CONTRIBUTORS.rst new file mode 100644 index 000000000..56751a869 --- /dev/null +++ b/partner_deduplicate_acl/readme/CONTRIBUTORS.rst @@ -0,0 +1,6 @@ +* Rafael Blasco +* Jairo Llopis +* Vicent Cubells +* Pedro M. Baeza +* Luis M. Ontalba +* Victor M.M. Torres diff --git a/partner_deduplicate_acl/readme/DESCRIPTION.rst b/partner_deduplicate_acl/readme/DESCRIPTION.rst new file mode 100644 index 000000000..0fd657b8e --- /dev/null +++ b/partner_deduplicate_acl/readme/DESCRIPTION.rst @@ -0,0 +1,3 @@ +This module extends the functionality of the CRM contact deduplicator to add +permission groups that allow the matching users to use those tools, not +needing to be the sale settings manager. diff --git a/partner_deduplicate_acl/readme/USAGE.rst b/partner_deduplicate_acl/readme/USAGE.rst new file mode 100644 index 000000000..d102ee38e --- /dev/null +++ b/partner_deduplicate_acl/readme/USAGE.rst @@ -0,0 +1,4 @@ +To use this module, you need to: + +#. Ask your admin to give you the new rights. +#. Go to *CRM > Tools > Deduplicate Contacts* as usual. diff --git a/partner_deduplicate_acl/static/description/index.html b/partner_deduplicate_acl/static/description/index.html new file mode 100644 index 000000000..1b1610325 --- /dev/null +++ b/partner_deduplicate_acl/static/description/index.html @@ -0,0 +1,448 @@ + + + + + + +Deduplicate Contacts ACL + + + +
+

Deduplicate Contacts ACL

+ + +

Beta License: AGPL-3 OCA/crm Translate me on Weblate Try me on Runbot

+

This module extends the functionality of the CRM contact deduplicator to add +permission groups that allow the matching users to use those tools, not +needing to be the sale settings manager.

+

Table of contents

+ +
+

Configuration

+

To configure this module, you need to:

+
    +
  1. Go to Settings > Users > Users.

    +
  2. +
  3. Choose a user.

    +
  4. +
  5. Choose the desired permission level(s) in Appplication > Deduplicate +Contacts:

    +
      +
    • Manually allows him to do the manual deduplication process.

      +
    • +
    • Automatically allows him to do the automatic deduplication process.

      +
      +

      Warning

      +

      Automatic contact deduplication can easily lead to unwanted results. +Better backup before doing it.

      +
      +
    • +
    • Without restrictions executes the chosen deduplication method with admin +rigts, to be able to update objects where the user would normally not have +write rights, and to allow him to merge contacts with different email +addresses.

      +
      +

      Warning

      +

      This is an advanced feature, be sure to train the user before enabling +this permission for him.

      +
      +
    • +
    +
  6. +
+
+
+

Usage

+

To use this module, you need to:

+
    +
  1. Ask your admin to give you the new rights.
  2. +
  3. Go to CRM > Tools > Deduplicate Contacts as usual.
  4. +
+
+
+

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.

+

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

+
+
+

Credits

+
+

Authors

+
    +
  • Tecnativa
  • +
+
+
+

Contributors

+ +
+
+

Maintainers

+

This module is maintained by the OCA.

+Odoo Community Association +

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.

+

This module is part of the OCA/crm project on GitHub.

+

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

+
+
+
+ + diff --git a/partner_deduplicate_acl/views/base_partner_merge_view.xml b/partner_deduplicate_acl/views/base_partner_merge_view.xml index f9fb03dab..aa5c79ce6 100644 --- a/partner_deduplicate_acl/views/base_partner_merge_view.xml +++ b/partner_deduplicate_acl/views/base_partner_merge_view.xml @@ -2,12 +2,13 @@ diff --git a/partner_deduplicate_acl/wizards/partner_merge_view.xml b/partner_deduplicate_acl/wizards/partner_merge_view.xml index 3ac3588cc..22e91f8c6 100644 --- a/partner_deduplicate_acl/wizards/partner_merge_view.xml +++ b/partner_deduplicate_acl/wizards/partner_merge_view.xml @@ -2,13 +2,14 @@ Restrict automatic merge access base.partner.merge.automatic.wizard - + crm_deduplicate_acl.group_automatically @@ -19,7 +20,7 @@ - +