Browse Source

[MOV] crm_deduplicate_acl > partner_deduplicate_acl

pull/721/head
Pedro M. Baeza 6 years ago
parent
commit
f32a99167d
  1. 16
      partner_deduplicate_acl/README.rst
  2. 6
      partner_deduplicate_acl/__manifest__.py
  3. 51
      partner_deduplicate_acl/i18n/crm_deduplicate_acl.pot
  4. 32
      partner_deduplicate_acl/i18n/de.po
  5. 32
      partner_deduplicate_acl/i18n/es.po
  6. 32
      partner_deduplicate_acl/i18n/hr.po
  7. 32
      partner_deduplicate_acl/i18n/it.po
  8. 32
      partner_deduplicate_acl/i18n/nl_NL.po
  9. 50
      partner_deduplicate_acl/i18n/partner_deduplicate_acl.pot
  10. 32
      partner_deduplicate_acl/i18n/pt_BR.po
  11. 32
      partner_deduplicate_acl/i18n/sk.po
  12. 32
      partner_deduplicate_acl/i18n/sl.po
  13. 32
      partner_deduplicate_acl/i18n/tr.po
  14. 32
      partner_deduplicate_acl/i18n/zh_CN.po
  15. 0
      partner_deduplicate_acl/security/partner_deduplicate_acl_security.xml
  16. 42
      partner_deduplicate_acl/static/description/index.html
  17. 2
      partner_deduplicate_acl/tests/__init__.py
  18. 4
      partner_deduplicate_acl/tests/test_crm_deduplicate_acl.py
  19. 2
      partner_deduplicate_acl/wizards/partner_merge.py
  20. 6
      partner_deduplicate_acl/wizards/partner_merge_view.xml

16
partner_deduplicate_acl/README.rst

@ -13,14 +13,14 @@ Deduplicate Contacts ACL
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png .. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3 :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
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fpartner--contact-lightgray.png?logo=github
:target: https://github.com/OCA/partner-contact/tree/12.0/partner_deduplicate_acl
:alt: OCA/partner-contact
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png .. |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
:target: https://translation.odoo-community.org/projects/partner-contact-12-0/partner-contact-12-0-partner_deduplicate_acl
:alt: Translate me on Weblate :alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png .. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png
:target: https://runbot.odoo-community.org/runbot/111/12.0
:target: https://runbot.odoo-community.org/runbot/134/12.0
:alt: Try me on Runbot :alt: Try me on Runbot
|badge1| |badge2| |badge3| |badge4| |badge5| |badge1| |badge2| |badge3| |badge4| |badge5|
@ -71,10 +71,10 @@ To use this module, you need to:
Bug Tracker Bug Tracker
=========== ===========
Bugs are tracked on `GitHub Issues <https://github.com/OCA/crm/issues>`_.
Bugs are tracked on `GitHub Issues <https://github.com/OCA/partner-contact/issues>`_.
In case of trouble, please check there if your issue has already been reported. 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 If you spotted it first, help us smashing it by providing a detailed and welcomed
`feedback <https://github.com/OCA/crm/issues/new?body=module:%20crm_deduplicate_acl%0Aversion:%2012.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
`feedback <https://github.com/OCA/partner-contact/issues/new?body=module:%20partner_deduplicate_acl%0Aversion:%2012.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. Do not contact contributors directly about support or help with technical issues.
@ -109,6 +109,6 @@ OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and mission is to support the collaborative development of Odoo features and
promote its widespread use. promote its widespread use.
This module is part of the `OCA/crm <https://github.com/OCA/crm/tree/12.0/crm_deduplicate_acl>`_ project on GitHub.
This module is part of the `OCA/partner-contact <https://github.com/OCA/partner-contact/tree/12.0/partner_deduplicate_acl>`_ project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

6
partner_deduplicate_acl/__manifest__.py

@ -9,17 +9,17 @@
"summary": "Contact deduplication with fine-grained permission control", "summary": "Contact deduplication with fine-grained permission control",
"version": "12.0.1.0.0", "version": "12.0.1.0.0",
"category": "Tools", "category": "Tools",
"website": "https://github.com/OCA/crm",
"website": "https://github.com/OCA/partner-contact",
"author": "Tecnativa, " "author": "Tecnativa, "
"Odoo Community Association (OCA)", "Odoo Community Association (OCA)",
"license": "AGPL-3", "license": "AGPL-3",
"application": False, "application": False,
"installable": True, "installable": True,
"depends": [ "depends": [
"crm",
"base",
], ],
"data": [ "data": [
"security/crm_deduplicate_acl_security.xml",
"security/partner_deduplicate_acl_security.xml",
"wizards/partner_merge_view.xml", "wizards/partner_merge_view.xml",
"views/base_partner_merge_view.xml", "views/base_partner_merge_view.xml",
], ],

51
partner_deduplicate_acl/i18n/crm_deduplicate_acl.pot

@ -1,51 +0,0 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * crm_deduplicate_acl
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 11.0\n"
"Report-Msgid-Bugs-To: \n"
"Last-Translator: <>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"
#. module: crm_deduplicate_acl
#: model:res.groups,name:crm_deduplicate_acl.group_automatically
msgid "Automatically"
msgstr ""
#. module: crm_deduplicate_acl
#: model:ir.model,name:crm_deduplicate_acl.model_res_partner
msgid "Contact"
msgstr ""
#. module: crm_deduplicate_acl
#: model:ir.module.category,name:crm_deduplicate_acl.category
#: model:ir.ui.menu,name:crm_deduplicate_acl.partner_merge_automatic_menu
msgid "Deduplicate Contacts"
msgstr ""
#. module: crm_deduplicate_acl
#: model:res.groups,name:crm_deduplicate_acl.group_manually
msgid "Manually"
msgstr ""
#. module: crm_deduplicate_acl
#: model:ir.ui.menu,name:crm_deduplicate_acl.crm_tools
msgid "Tools"
msgstr ""
#. module: crm_deduplicate_acl
#: model:res.groups,name:crm_deduplicate_acl.group_unrestricted
msgid "Without restrictions"
msgstr ""
#. module: crm_deduplicate_acl
#: model:ir.model,name:crm_deduplicate_acl.model_base_partner_merge_automatic_wizard
msgid "base.partner.merge.automatic.wizard"
msgstr ""

32
partner_deduplicate_acl/i18n/de.po

@ -1,6 +1,6 @@
# Translation of Odoo Server. # Translation of Odoo Server.
# This file contains the translation of the following modules: # This file contains the translation of the following modules:
# * crm_deduplicate_acl
# * partner_deduplicate_acl
# #
# Translators: # Translators:
# OCA Transbot <transbot@odoo-community.org>, 2018 # OCA Transbot <transbot@odoo-community.org>, 2018
@ -19,38 +19,38 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=n != 1;\n" "Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 3.3\n" "X-Generator: Weblate 3.3\n"
#. module: crm_deduplicate_acl
#: model:res.groups,name:crm_deduplicate_acl.group_automatically
#. module: partner_deduplicate_acl
#: model:res.groups,name:partner_deduplicate_acl.group_automatically
msgid "Automatically" msgid "Automatically"
msgstr "Automatisch" msgstr "Automatisch"
#. module: crm_deduplicate_acl
#: model:ir.model,name:crm_deduplicate_acl.model_res_partner
#. module: partner_deduplicate_acl
#: model:ir.model,name:partner_deduplicate_acl.model_res_partner
msgid "Contact" msgid "Contact"
msgstr "Kontakt" msgstr "Kontakt"
#. module: crm_deduplicate_acl
#: model:ir.module.category,name:crm_deduplicate_acl.category
#: model:ir.ui.menu,name:crm_deduplicate_acl.partner_merge_automatic_menu
#. module: partner_deduplicate_acl
#: model:ir.module.category,name:partner_deduplicate_acl.category
#: model:ir.ui.menu,name:partner_deduplicate_acl.partner_merge_automatic_menu
msgid "Deduplicate Contacts" msgid "Deduplicate Contacts"
msgstr "Deduplizieren der Kontakte" msgstr "Deduplizieren der Kontakte"
#. module: crm_deduplicate_acl
#: model:res.groups,name:crm_deduplicate_acl.group_manually
#. module: partner_deduplicate_acl
#: model:res.groups,name:partner_deduplicate_acl.group_manually
msgid "Manually" msgid "Manually"
msgstr "Manuell" msgstr "Manuell"
#. module: crm_deduplicate_acl
#: model:ir.ui.menu,name:crm_deduplicate_acl.crm_tools
#. module: partner_deduplicate_acl
#: model:ir.ui.menu,name:partner_deduplicate_acl.crm_tools
msgid "Tools" msgid "Tools"
msgstr "Werkzeuge" msgstr "Werkzeuge"
#. module: crm_deduplicate_acl
#: model:res.groups,name:crm_deduplicate_acl.group_unrestricted
#. module: partner_deduplicate_acl
#: model:res.groups,name:partner_deduplicate_acl.group_unrestricted
msgid "Without restrictions" msgid "Without restrictions"
msgstr "Ohne Beschränkungen" msgstr "Ohne Beschränkungen"
#. module: crm_deduplicate_acl
#: model:ir.model,name:crm_deduplicate_acl.model_base_partner_merge_automatic_wizard
#. module: partner_deduplicate_acl
#: model:ir.model,name:partner_deduplicate_acl.model_base_partner_merge_automatic_wizard
msgid "base.partner.merge.automatic.wizard" msgid "base.partner.merge.automatic.wizard"
msgstr "base.partner.merge.automatic.wizard" msgstr "base.partner.merge.automatic.wizard"

32
partner_deduplicate_acl/i18n/es.po

@ -1,6 +1,6 @@
# Translation of Odoo Server. # Translation of Odoo Server.
# This file contains the translation of the following modules: # This file contains the translation of the following modules:
# * crm_deduplicate_acl
# * partner_deduplicate_acl
# #
# Translators: # Translators:
# Pedro M. Baeza <pedro.baeza@gmail.com>, 2018 # Pedro M. Baeza <pedro.baeza@gmail.com>, 2018
@ -19,38 +19,38 @@ msgstr ""
"Content-Transfer-Encoding: \n" "Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: crm_deduplicate_acl
#: model:res.groups,name:crm_deduplicate_acl.group_automatically
#. module: partner_deduplicate_acl
#: model:res.groups,name:partner_deduplicate_acl.group_automatically
msgid "Automatically" msgid "Automatically"
msgstr "Automáticamente" msgstr "Automáticamente"
#. module: crm_deduplicate_acl
#: model:ir.model,name:crm_deduplicate_acl.model_res_partner
#. module: partner_deduplicate_acl
#: model:ir.model,name:partner_deduplicate_acl.model_res_partner
msgid "Contact" msgid "Contact"
msgstr "Contacto" msgstr "Contacto"
#. module: crm_deduplicate_acl
#: model:ir.module.category,name:crm_deduplicate_acl.category
#: model:ir.ui.menu,name:crm_deduplicate_acl.partner_merge_automatic_menu
#. module: partner_deduplicate_acl
#: model:ir.module.category,name:partner_deduplicate_acl.category
#: model:ir.ui.menu,name:partner_deduplicate_acl.partner_merge_automatic_menu
msgid "Deduplicate Contacts" msgid "Deduplicate Contacts"
msgstr "Deduplicar contactos" msgstr "Deduplicar contactos"
#. module: crm_deduplicate_acl
#: model:res.groups,name:crm_deduplicate_acl.group_manually
#. module: partner_deduplicate_acl
#: model:res.groups,name:partner_deduplicate_acl.group_manually
msgid "Manually" msgid "Manually"
msgstr "Manualmente" msgstr "Manualmente"
#. module: crm_deduplicate_acl
#: model:ir.ui.menu,name:crm_deduplicate_acl.crm_tools
#. module: partner_deduplicate_acl
#: model:ir.ui.menu,name:partner_deduplicate_acl.crm_tools
msgid "Tools" msgid "Tools"
msgstr "Herramientas" msgstr "Herramientas"
#. module: crm_deduplicate_acl
#: model:res.groups,name:crm_deduplicate_acl.group_unrestricted
#. module: partner_deduplicate_acl
#: model:res.groups,name:partner_deduplicate_acl.group_unrestricted
msgid "Without restrictions" msgid "Without restrictions"
msgstr "Sin restricciones" msgstr "Sin restricciones"
#. module: crm_deduplicate_acl
#: model:ir.model,name:crm_deduplicate_acl.model_base_partner_merge_automatic_wizard
#. module: partner_deduplicate_acl
#: model:ir.model,name:partner_deduplicate_acl.model_base_partner_merge_automatic_wizard
msgid "base.partner.merge.automatic.wizard" msgid "base.partner.merge.automatic.wizard"
msgstr "base.partner.merge.automatic.wizard" msgstr "base.partner.merge.automatic.wizard"

32
partner_deduplicate_acl/i18n/hr.po

@ -1,6 +1,6 @@
# Translation of Odoo Server. # Translation of Odoo Server.
# This file contains the translation of the following modules: # This file contains the translation of the following modules:
# * crm_deduplicate_acl
# * partner_deduplicate_acl
# #
# Translators: # Translators:
# OCA Transbot <transbot@odoo-community.org>, 2018 # OCA Transbot <transbot@odoo-community.org>, 2018
@ -19,38 +19,38 @@ msgstr ""
"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && 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" "%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
#. module: crm_deduplicate_acl
#: model:res.groups,name:crm_deduplicate_acl.group_automatically
#. module: partner_deduplicate_acl
#: model:res.groups,name:partner_deduplicate_acl.group_automatically
msgid "Automatically" msgid "Automatically"
msgstr "Automatski" msgstr "Automatski"
#. module: crm_deduplicate_acl
#: model:ir.model,name:crm_deduplicate_acl.model_res_partner
#. module: partner_deduplicate_acl
#: model:ir.model,name:partner_deduplicate_acl.model_res_partner
msgid "Contact" msgid "Contact"
msgstr "" msgstr ""
#. module: crm_deduplicate_acl
#: model:ir.module.category,name:crm_deduplicate_acl.category
#: model:ir.ui.menu,name:crm_deduplicate_acl.partner_merge_automatic_menu
#. module: partner_deduplicate_acl
#: model:ir.module.category,name:partner_deduplicate_acl.category
#: model:ir.ui.menu,name:partner_deduplicate_acl.partner_merge_automatic_menu
msgid "Deduplicate Contacts" msgid "Deduplicate Contacts"
msgstr "Ukloni duple kontakte" msgstr "Ukloni duple kontakte"
#. module: crm_deduplicate_acl
#: model:res.groups,name:crm_deduplicate_acl.group_manually
#. module: partner_deduplicate_acl
#: model:res.groups,name:partner_deduplicate_acl.group_manually
msgid "Manually" msgid "Manually"
msgstr "Ručno" msgstr "Ručno"
#. module: crm_deduplicate_acl
#: model:ir.ui.menu,name:crm_deduplicate_acl.crm_tools
#. module: partner_deduplicate_acl
#: model:ir.ui.menu,name:partner_deduplicate_acl.crm_tools
msgid "Tools" msgid "Tools"
msgstr "Alati" msgstr "Alati"
#. module: crm_deduplicate_acl
#: model:res.groups,name:crm_deduplicate_acl.group_unrestricted
#. module: partner_deduplicate_acl
#: model:res.groups,name:partner_deduplicate_acl.group_unrestricted
msgid "Without restrictions" msgid "Without restrictions"
msgstr "Bez ograničenja" msgstr "Bez ograničenja"
#. module: crm_deduplicate_acl
#: model:ir.model,name:crm_deduplicate_acl.model_base_partner_merge_automatic_wizard
#. module: partner_deduplicate_acl
#: model:ir.model,name:partner_deduplicate_acl.model_base_partner_merge_automatic_wizard
msgid "base.partner.merge.automatic.wizard" msgid "base.partner.merge.automatic.wizard"
msgstr "base.partner.merge.automatic.wizard" msgstr "base.partner.merge.automatic.wizard"

32
partner_deduplicate_acl/i18n/it.po

@ -1,6 +1,6 @@
# Translation of Odoo Server. # Translation of Odoo Server.
# This file contains the translation of the following modules: # This file contains the translation of the following modules:
# * crm_deduplicate_acl
# * partner_deduplicate_acl
# #
# Translators: # Translators:
# OCA Transbot <transbot@odoo-community.org>, 2016 # OCA Transbot <transbot@odoo-community.org>, 2016
@ -18,38 +18,38 @@ msgstr ""
"Content-Transfer-Encoding: \n" "Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: crm_deduplicate_acl
#: model:res.groups,name:crm_deduplicate_acl.group_automatically
#. module: partner_deduplicate_acl
#: model:res.groups,name:partner_deduplicate_acl.group_automatically
msgid "Automatically" msgid "Automatically"
msgstr "Automaticamente" msgstr "Automaticamente"
#. module: crm_deduplicate_acl
#: model:ir.model,name:crm_deduplicate_acl.model_res_partner
#. module: partner_deduplicate_acl
#: model:ir.model,name:partner_deduplicate_acl.model_res_partner
msgid "Contact" msgid "Contact"
msgstr "" msgstr ""
#. module: crm_deduplicate_acl
#: model:ir.module.category,name:crm_deduplicate_acl.category
#: model:ir.ui.menu,name:crm_deduplicate_acl.partner_merge_automatic_menu
#. module: partner_deduplicate_acl
#: model:ir.module.category,name:partner_deduplicate_acl.category
#: model:ir.ui.menu,name:partner_deduplicate_acl.partner_merge_automatic_menu
msgid "Deduplicate Contacts" msgid "Deduplicate Contacts"
msgstr "Deduplica Contatti" msgstr "Deduplica Contatti"
#. module: crm_deduplicate_acl
#: model:res.groups,name:crm_deduplicate_acl.group_manually
#. module: partner_deduplicate_acl
#: model:res.groups,name:partner_deduplicate_acl.group_manually
msgid "Manually" msgid "Manually"
msgstr "Manualmente" msgstr "Manualmente"
#. module: crm_deduplicate_acl
#: model:ir.ui.menu,name:crm_deduplicate_acl.crm_tools
#. module: partner_deduplicate_acl
#: model:ir.ui.menu,name:partner_deduplicate_acl.crm_tools
msgid "Tools" msgid "Tools"
msgstr "" msgstr ""
#. module: crm_deduplicate_acl
#: model:res.groups,name:crm_deduplicate_acl.group_unrestricted
#. module: partner_deduplicate_acl
#: model:res.groups,name:partner_deduplicate_acl.group_unrestricted
msgid "Without restrictions" msgid "Without restrictions"
msgstr "Senza restrinzioni" msgstr "Senza restrinzioni"
#. module: crm_deduplicate_acl
#: model:ir.model,name:crm_deduplicate_acl.model_base_partner_merge_automatic_wizard
#. module: partner_deduplicate_acl
#: model:ir.model,name:partner_deduplicate_acl.model_base_partner_merge_automatic_wizard
msgid "base.partner.merge.automatic.wizard" msgid "base.partner.merge.automatic.wizard"
msgstr "" msgstr ""

32
partner_deduplicate_acl/i18n/nl_NL.po

@ -1,6 +1,6 @@
# Translation of Odoo Server. # Translation of Odoo Server.
# This file contains the translation of the following modules: # This file contains the translation of the following modules:
# * crm_deduplicate_acl
# * partner_deduplicate_acl
# #
# Translators: # Translators:
# OCA Transbot <transbot@odoo-community.org>, 2018 # OCA Transbot <transbot@odoo-community.org>, 2018
@ -19,38 +19,38 @@ msgstr ""
"Content-Transfer-Encoding: \n" "Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: crm_deduplicate_acl
#: model:res.groups,name:crm_deduplicate_acl.group_automatically
#. module: partner_deduplicate_acl
#: model:res.groups,name:partner_deduplicate_acl.group_automatically
msgid "Automatically" msgid "Automatically"
msgstr "Automatisch" msgstr "Automatisch"
#. module: crm_deduplicate_acl
#: model:ir.model,name:crm_deduplicate_acl.model_res_partner
#. module: partner_deduplicate_acl
#: model:ir.model,name:partner_deduplicate_acl.model_res_partner
msgid "Contact" msgid "Contact"
msgstr "" msgstr ""
#. module: crm_deduplicate_acl
#: model:ir.module.category,name:crm_deduplicate_acl.category
#: model:ir.ui.menu,name:crm_deduplicate_acl.partner_merge_automatic_menu
#. module: partner_deduplicate_acl
#: model:ir.module.category,name:partner_deduplicate_acl.category
#: model:ir.ui.menu,name:partner_deduplicate_acl.partner_merge_automatic_menu
msgid "Deduplicate Contacts" msgid "Deduplicate Contacts"
msgstr "Ontdubbel Relaties" msgstr "Ontdubbel Relaties"
#. module: crm_deduplicate_acl
#: model:res.groups,name:crm_deduplicate_acl.group_manually
#. module: partner_deduplicate_acl
#: model:res.groups,name:partner_deduplicate_acl.group_manually
msgid "Manually" msgid "Manually"
msgstr "Handmatig" msgstr "Handmatig"
#. module: crm_deduplicate_acl
#: model:ir.ui.menu,name:crm_deduplicate_acl.crm_tools
#. module: partner_deduplicate_acl
#: model:ir.ui.menu,name:partner_deduplicate_acl.crm_tools
msgid "Tools" msgid "Tools"
msgstr "" msgstr ""
#. module: crm_deduplicate_acl
#: model:res.groups,name:crm_deduplicate_acl.group_unrestricted
#. module: partner_deduplicate_acl
#: model:res.groups,name:partner_deduplicate_acl.group_unrestricted
msgid "Without restrictions" msgid "Without restrictions"
msgstr "Zonder beperkingen" msgstr "Zonder beperkingen"
#. module: crm_deduplicate_acl
#: model:ir.model,name:crm_deduplicate_acl.model_base_partner_merge_automatic_wizard
#. module: partner_deduplicate_acl
#: model:ir.model,name:partner_deduplicate_acl.model_base_partner_merge_automatic_wizard
msgid "base.partner.merge.automatic.wizard" msgid "base.partner.merge.automatic.wizard"
msgstr "base.partner.merge.automatic.wizard" msgstr "base.partner.merge.automatic.wizard"

50
partner_deduplicate_acl/i18n/partner_deduplicate_acl.pot

@ -0,0 +1,50 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * partner_deduplicate_acl
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 11.0\n"
"Report-Msgid-Bugs-To: \n"
"Last-Translator: <>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"
#. module: partner_deduplicate_acl
#: model:res.groups,name:partner_deduplicate_acl.group_automatically
msgid "Automatically"
msgstr ""
#. module: partner_deduplicate_acl
#: model:ir.model,name:partner_deduplicate_acl.model_res_partner
msgid "Contact"
msgstr ""
#. module: partner_deduplicate_acl
#: model:ir.module.category,name:partner_deduplicate_acl.category
#: model:ir.ui.menu,name:partner_deduplicate_acl.partner_merge_automatic_menu
msgid "Deduplicate Contacts"
msgstr ""
#. module: partner_deduplicate_acl
#: model:res.groups,name:partner_deduplicate_acl.group_manually
msgid "Manually"
msgstr ""
#. module: partner_deduplicate_acl
#: model:ir.ui.menu,name:partner_deduplicate_acl.crm_tools
msgid "Tools"
msgstr ""
#. module: partner_deduplicate_acl
#: model:res.groups,name:partner_deduplicate_acl.group_unrestricted
msgid "Without restrictions"
msgstr ""
#. module: partner_deduplicate_acl
#: model:ir.model,name:partner_deduplicate_acl.model_base_partner_merge_automatic_wizard
msgid "base.partner.merge.automatic.wizard"
msgstr ""

32
partner_deduplicate_acl/i18n/pt_BR.po

@ -1,6 +1,6 @@
# Translation of Odoo Server. # Translation of Odoo Server.
# This file contains the translation of the following modules: # This file contains the translation of the following modules:
# * crm_deduplicate_acl
# * partner_deduplicate_acl
# #
# Translators: # Translators:
# falexandresilva <falexandresilva@gmail.com>, 2018 # falexandresilva <falexandresilva@gmail.com>, 2018
@ -20,38 +20,38 @@ msgstr ""
"Content-Transfer-Encoding: \n" "Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n"
#. module: crm_deduplicate_acl
#: model:res.groups,name:crm_deduplicate_acl.group_automatically
#. module: partner_deduplicate_acl
#: model:res.groups,name:partner_deduplicate_acl.group_automatically
msgid "Automatically" msgid "Automatically"
msgstr "Automaticamente" msgstr "Automaticamente"
#. module: crm_deduplicate_acl
#: model:ir.model,name:crm_deduplicate_acl.model_res_partner
#. module: partner_deduplicate_acl
#: model:ir.model,name:partner_deduplicate_acl.model_res_partner
msgid "Contact" msgid "Contact"
msgstr "Contato" msgstr "Contato"
#. module: crm_deduplicate_acl
#: model:ir.module.category,name:crm_deduplicate_acl.category
#: model:ir.ui.menu,name:crm_deduplicate_acl.partner_merge_automatic_menu
#. module: partner_deduplicate_acl
#: model:ir.module.category,name:partner_deduplicate_acl.category
#: model:ir.ui.menu,name:partner_deduplicate_acl.partner_merge_automatic_menu
msgid "Deduplicate Contacts" msgid "Deduplicate Contacts"
msgstr "Deduplicar contatos" msgstr "Deduplicar contatos"
#. module: crm_deduplicate_acl
#: model:res.groups,name:crm_deduplicate_acl.group_manually
#. module: partner_deduplicate_acl
#: model:res.groups,name:partner_deduplicate_acl.group_manually
msgid "Manually" msgid "Manually"
msgstr "Manualmente" msgstr "Manualmente"
#. module: crm_deduplicate_acl
#: model:ir.ui.menu,name:crm_deduplicate_acl.crm_tools
#. module: partner_deduplicate_acl
#: model:ir.ui.menu,name:partner_deduplicate_acl.crm_tools
msgid "Tools" msgid "Tools"
msgstr "Ferramentas" msgstr "Ferramentas"
#. module: crm_deduplicate_acl
#: model:res.groups,name:crm_deduplicate_acl.group_unrestricted
#. module: partner_deduplicate_acl
#: model:res.groups,name:partner_deduplicate_acl.group_unrestricted
msgid "Without restrictions" msgid "Without restrictions"
msgstr "Sem restrições" msgstr "Sem restrições"
#. module: crm_deduplicate_acl
#: model:ir.model,name:crm_deduplicate_acl.model_base_partner_merge_automatic_wizard
#. module: partner_deduplicate_acl
#: model:ir.model,name:partner_deduplicate_acl.model_base_partner_merge_automatic_wizard
msgid "base.partner.merge.automatic.wizard" msgid "base.partner.merge.automatic.wizard"
msgstr "" msgstr ""

32
partner_deduplicate_acl/i18n/sk.po

@ -1,6 +1,6 @@
# Translation of Odoo Server. # Translation of Odoo Server.
# This file contains the translation of the following modules: # This file contains the translation of the following modules:
# * crm_deduplicate_acl
# * partner_deduplicate_acl
# #
# Translators: # Translators:
# OCA Transbot <transbot@odoo-community.org>, 2018 # OCA Transbot <transbot@odoo-community.org>, 2018
@ -18,38 +18,38 @@ msgstr ""
"Content-Transfer-Encoding: \n" "Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" "Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
#. module: crm_deduplicate_acl
#: model:res.groups,name:crm_deduplicate_acl.group_automatically
#. module: partner_deduplicate_acl
#: model:res.groups,name:partner_deduplicate_acl.group_automatically
msgid "Automatically" msgid "Automatically"
msgstr "Automaticky" msgstr "Automaticky"
#. module: crm_deduplicate_acl
#: model:ir.model,name:crm_deduplicate_acl.model_res_partner
#. module: partner_deduplicate_acl
#: model:ir.model,name:partner_deduplicate_acl.model_res_partner
msgid "Contact" msgid "Contact"
msgstr "" msgstr ""
#. module: crm_deduplicate_acl
#: model:ir.module.category,name:crm_deduplicate_acl.category
#: model:ir.ui.menu,name:crm_deduplicate_acl.partner_merge_automatic_menu
#. module: partner_deduplicate_acl
#: model:ir.module.category,name:partner_deduplicate_acl.category
#: model:ir.ui.menu,name:partner_deduplicate_acl.partner_merge_automatic_menu
msgid "Deduplicate Contacts" msgid "Deduplicate Contacts"
msgstr "Odduplikovať Kontakty" msgstr "Odduplikovať Kontakty"
#. module: crm_deduplicate_acl
#: model:res.groups,name:crm_deduplicate_acl.group_manually
#. module: partner_deduplicate_acl
#: model:res.groups,name:partner_deduplicate_acl.group_manually
msgid "Manually" msgid "Manually"
msgstr "Manuálne" msgstr "Manuálne"
#. module: crm_deduplicate_acl
#: model:ir.ui.menu,name:crm_deduplicate_acl.crm_tools
#. module: partner_deduplicate_acl
#: model:ir.ui.menu,name:partner_deduplicate_acl.crm_tools
msgid "Tools" msgid "Tools"
msgstr "Nástroje" msgstr "Nástroje"
#. module: crm_deduplicate_acl
#: model:res.groups,name:crm_deduplicate_acl.group_unrestricted
#. module: partner_deduplicate_acl
#: model:res.groups,name:partner_deduplicate_acl.group_unrestricted
msgid "Without restrictions" msgid "Without restrictions"
msgstr "Bez obmedzení" msgstr "Bez obmedzení"
#. module: crm_deduplicate_acl
#: model:ir.model,name:crm_deduplicate_acl.model_base_partner_merge_automatic_wizard
#. module: partner_deduplicate_acl
#: model:ir.model,name:partner_deduplicate_acl.model_base_partner_merge_automatic_wizard
msgid "base.partner.merge.automatic.wizard" msgid "base.partner.merge.automatic.wizard"
msgstr "base.partner.merge.automatic.wizard" msgstr "base.partner.merge.automatic.wizard"

32
partner_deduplicate_acl/i18n/sl.po

@ -1,6 +1,6 @@
# Translation of Odoo Server. # Translation of Odoo Server.
# This file contains the translation of the following modules: # This file contains the translation of the following modules:
# * crm_deduplicate_acl
# * partner_deduplicate_acl
# #
# Translators: # Translators:
# OCA Transbot <transbot@odoo-community.org>, 2018 # OCA Transbot <transbot@odoo-community.org>, 2018
@ -19,38 +19,38 @@ msgstr ""
"Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n" "Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n"
"%100==4 ? 2 : 3);\n" "%100==4 ? 2 : 3);\n"
#. module: crm_deduplicate_acl
#: model:res.groups,name:crm_deduplicate_acl.group_automatically
#. module: partner_deduplicate_acl
#: model:res.groups,name:partner_deduplicate_acl.group_automatically
msgid "Automatically" msgid "Automatically"
msgstr "Samodejno" msgstr "Samodejno"
#. module: crm_deduplicate_acl
#: model:ir.model,name:crm_deduplicate_acl.model_res_partner
#. module: partner_deduplicate_acl
#: model:ir.model,name:partner_deduplicate_acl.model_res_partner
msgid "Contact" msgid "Contact"
msgstr "" msgstr ""
#. module: crm_deduplicate_acl
#: model:ir.module.category,name:crm_deduplicate_acl.category
#: model:ir.ui.menu,name:crm_deduplicate_acl.partner_merge_automatic_menu
#. module: partner_deduplicate_acl
#: model:ir.module.category,name:partner_deduplicate_acl.category
#: model:ir.ui.menu,name:partner_deduplicate_acl.partner_merge_automatic_menu
msgid "Deduplicate Contacts" msgid "Deduplicate Contacts"
msgstr "Odstrani dvojnike stikov" msgstr "Odstrani dvojnike stikov"
#. module: crm_deduplicate_acl
#: model:res.groups,name:crm_deduplicate_acl.group_manually
#. module: partner_deduplicate_acl
#: model:res.groups,name:partner_deduplicate_acl.group_manually
msgid "Manually" msgid "Manually"
msgstr "Ročno" msgstr "Ročno"
#. module: crm_deduplicate_acl
#: model:ir.ui.menu,name:crm_deduplicate_acl.crm_tools
#. module: partner_deduplicate_acl
#: model:ir.ui.menu,name:partner_deduplicate_acl.crm_tools
msgid "Tools" msgid "Tools"
msgstr "Orodja" msgstr "Orodja"
#. module: crm_deduplicate_acl
#: model:res.groups,name:crm_deduplicate_acl.group_unrestricted
#. module: partner_deduplicate_acl
#: model:res.groups,name:partner_deduplicate_acl.group_unrestricted
msgid "Without restrictions" msgid "Without restrictions"
msgstr "Brez omejitev" msgstr "Brez omejitev"
#. module: crm_deduplicate_acl
#: model:ir.model,name:crm_deduplicate_acl.model_base_partner_merge_automatic_wizard
#. module: partner_deduplicate_acl
#: model:ir.model,name:partner_deduplicate_acl.model_base_partner_merge_automatic_wizard
msgid "base.partner.merge.automatic.wizard" msgid "base.partner.merge.automatic.wizard"
msgstr "" msgstr ""

32
partner_deduplicate_acl/i18n/tr.po

@ -1,6 +1,6 @@
# Translation of Odoo Server. # Translation of Odoo Server.
# This file contains the translation of the following modules: # This file contains the translation of the following modules:
# * crm_deduplicate_acl
# * partner_deduplicate_acl
# #
# Translators: # Translators:
# OCA Transbot <transbot@odoo-community.org>, 2018 # OCA Transbot <transbot@odoo-community.org>, 2018
@ -18,38 +18,38 @@ msgstr ""
"Content-Transfer-Encoding: \n" "Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n"
#. module: crm_deduplicate_acl
#: model:res.groups,name:crm_deduplicate_acl.group_automatically
#. module: partner_deduplicate_acl
#: model:res.groups,name:partner_deduplicate_acl.group_automatically
msgid "Automatically" msgid "Automatically"
msgstr "Otomatikman" msgstr "Otomatikman"
#. module: crm_deduplicate_acl
#: model:ir.model,name:crm_deduplicate_acl.model_res_partner
#. module: partner_deduplicate_acl
#: model:ir.model,name:partner_deduplicate_acl.model_res_partner
msgid "Contact" msgid "Contact"
msgstr "" msgstr ""
#. module: crm_deduplicate_acl
#: model:ir.module.category,name:crm_deduplicate_acl.category
#: model:ir.ui.menu,name:crm_deduplicate_acl.partner_merge_automatic_menu
#. module: partner_deduplicate_acl
#: model:ir.module.category,name:partner_deduplicate_acl.category
#: model:ir.ui.menu,name:partner_deduplicate_acl.partner_merge_automatic_menu
msgid "Deduplicate Contacts" msgid "Deduplicate Contacts"
msgstr "Çift Kayıtlı Kontakları Birleştir" msgstr "Çift Kayıtlı Kontakları Birleştir"
#. module: crm_deduplicate_acl
#: model:res.groups,name:crm_deduplicate_acl.group_manually
#. module: partner_deduplicate_acl
#: model:res.groups,name:partner_deduplicate_acl.group_manually
msgid "Manually" msgid "Manually"
msgstr "Manuel" msgstr "Manuel"
#. module: crm_deduplicate_acl
#: model:ir.ui.menu,name:crm_deduplicate_acl.crm_tools
#. module: partner_deduplicate_acl
#: model:ir.ui.menu,name:partner_deduplicate_acl.crm_tools
msgid "Tools" msgid "Tools"
msgstr "Araçlar" msgstr "Araçlar"
#. module: crm_deduplicate_acl
#: model:res.groups,name:crm_deduplicate_acl.group_unrestricted
#. module: partner_deduplicate_acl
#: model:res.groups,name:partner_deduplicate_acl.group_unrestricted
msgid "Without restrictions" msgid "Without restrictions"
msgstr "Kısıtlama olmaksızın" msgstr "Kısıtlama olmaksızın"
#. module: crm_deduplicate_acl
#: model:ir.model,name:crm_deduplicate_acl.model_base_partner_merge_automatic_wizard
#. module: partner_deduplicate_acl
#: model:ir.model,name:partner_deduplicate_acl.model_base_partner_merge_automatic_wizard
msgid "base.partner.merge.automatic.wizard" msgid "base.partner.merge.automatic.wizard"
msgstr "base.partner.merge.automatic.wizard" msgstr "base.partner.merge.automatic.wizard"

32
partner_deduplicate_acl/i18n/zh_CN.po

@ -1,6 +1,6 @@
# Translation of Odoo Server. # Translation of Odoo Server.
# This file contains the translation of the following modules: # This file contains the translation of the following modules:
# * crm_deduplicate_acl
# * partner_deduplicate_acl
# #
# Translators: # Translators:
# ITGeeker <alanljj@qq.com>, 2017 # ITGeeker <alanljj@qq.com>, 2017
@ -19,38 +19,38 @@ msgstr ""
"Content-Transfer-Encoding: \n" "Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=1; plural=0;\n" "Plural-Forms: nplurals=1; plural=0;\n"
#. module: crm_deduplicate_acl
#: model:res.groups,name:crm_deduplicate_acl.group_automatically
#. module: partner_deduplicate_acl
#: model:res.groups,name:partner_deduplicate_acl.group_automatically
msgid "Automatically" msgid "Automatically"
msgstr "自动" msgstr "自动"
#. module: crm_deduplicate_acl
#: model:ir.model,name:crm_deduplicate_acl.model_res_partner
#. module: partner_deduplicate_acl
#: model:ir.model,name:partner_deduplicate_acl.model_res_partner
msgid "Contact" msgid "Contact"
msgstr "" msgstr ""
#. module: crm_deduplicate_acl
#: model:ir.module.category,name:crm_deduplicate_acl.category
#: model:ir.ui.menu,name:crm_deduplicate_acl.partner_merge_automatic_menu
#. module: partner_deduplicate_acl
#: model:ir.module.category,name:partner_deduplicate_acl.category
#: model:ir.ui.menu,name:partner_deduplicate_acl.partner_merge_automatic_menu
msgid "Deduplicate Contacts" msgid "Deduplicate Contacts"
msgstr "联系人去重" msgstr "联系人去重"
#. module: crm_deduplicate_acl
#: model:res.groups,name:crm_deduplicate_acl.group_manually
#. module: partner_deduplicate_acl
#: model:res.groups,name:partner_deduplicate_acl.group_manually
msgid "Manually" msgid "Manually"
msgstr "手动" msgstr "手动"
#. module: crm_deduplicate_acl
#: model:ir.ui.menu,name:crm_deduplicate_acl.crm_tools
#. module: partner_deduplicate_acl
#: model:ir.ui.menu,name:partner_deduplicate_acl.crm_tools
msgid "Tools" msgid "Tools"
msgstr "" msgstr ""
#. module: crm_deduplicate_acl
#: model:res.groups,name:crm_deduplicate_acl.group_unrestricted
#. module: partner_deduplicate_acl
#: model:res.groups,name:partner_deduplicate_acl.group_unrestricted
msgid "Without restrictions" msgid "Without restrictions"
msgstr "无限制" msgstr "无限制"
#. module: crm_deduplicate_acl
#: model:ir.model,name:crm_deduplicate_acl.model_base_partner_merge_automatic_wizard
#. module: partner_deduplicate_acl
#: model:ir.model,name:partner_deduplicate_acl.model_base_partner_merge_automatic_wizard
msgid "base.partner.merge.automatic.wizard" msgid "base.partner.merge.automatic.wizard"
msgstr "" msgstr ""

0
partner_deduplicate_acl/security/crm_deduplicate_acl_security.xml → partner_deduplicate_acl/security/partner_deduplicate_acl_security.xml

42
partner_deduplicate_acl/static/description/index.html

@ -3,13 +3,13 @@
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="generator" content="Docutils 0.12: http://docutils.sourceforge.net/" />
<meta name="generator" content="Docutils 0.14: http://docutils.sourceforge.net/" />
<title>Deduplicate Contacts ACL</title> <title>Deduplicate Contacts ACL</title>
<style type="text/css"> <style type="text/css">
/* /*
:Author: David Goodger (goodger@python.org) :Author: David Goodger (goodger@python.org)
:Id: $Id: html4css1.css 7614 2013-02-21 15:55:51Z milde $
:Id: $Id: html4css1.css 7952 2016-07-26 18:15:59Z milde $
:Copyright: This stylesheet has been placed in the public domain. :Copyright: This stylesheet has been placed in the public domain.
Default cascading style sheet for the HTML output of Docutils. Default cascading style sheet for the HTML output of Docutils.
@ -37,6 +37,14 @@ table.borderless td, table.borderless th {
.hidden { .hidden {
display: none } display: none }
.subscript {
vertical-align: sub;
font-size: smaller }
.superscript {
vertical-align: super;
font-size: smaller }
a.toc-backref { a.toc-backref {
text-decoration: none ; text-decoration: none ;
color: black } color: black }
@ -161,12 +169,12 @@ h2.subtitle {
hr.docutils { hr.docutils {
width: 75% } width: 75% }
img.align-left, .figure.align-left, object.align-left {
img.align-left, .figure.align-left, object.align-left, table.align-left {
clear: left ; clear: left ;
float: left ; float: left ;
margin-right: 1em } margin-right: 1em }
img.align-right, .figure.align-right, object.align-right {
img.align-right, .figure.align-right, object.align-right, table.align-right {
clear: right ; clear: right ;
float: right ; float: right ;
margin-left: 1em } margin-left: 1em }
@ -177,6 +185,11 @@ img.align-center, .figure.align-center, object.align-center {
margin-right: auto; margin-right: auto;
} }
table.align-center {
margin-left: auto;
margin-right: auto;
}
.align-left { .align-left {
text-align: left } text-align: left }
@ -194,6 +207,15 @@ div.align-right {
/* div.align-center * { */ /* div.align-center * { */
/* text-align: left } */ /* text-align: left } */
.align-top {
vertical-align: top }
.align-middle {
vertical-align: middle }
.align-bottom {
vertical-align: bottom }
ol.simple, ul.simple { ol.simple, ul.simple {
margin-bottom: 1em } margin-bottom: 1em }
@ -345,7 +367,7 @@ ul.auto-toc {
!! This file is generated by oca-gen-addon-readme !! !! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !! !! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --> !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<p><a class="reference external" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external" href="https://github.com/OCA/crm/tree/12.0/crm_deduplicate_acl"><img alt="OCA/crm" src="https://img.shields.io/badge/github-OCA%2Fcrm-lightgray.png?logo=github" /></a> <a class="reference external" href="https://translation.odoo-community.org/projects/crm-12-0/crm-12-0-crm_deduplicate_acl"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external" href="https://runbot.odoo-community.org/runbot/111/12.0"><img alt="Try me on Runbot" src="https://img.shields.io/badge/runbot-Try%20me-875A7B.png" /></a></p>
<p><a class="reference external" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external" href="https://github.com/OCA/partner-contact/tree/12.0/partner_deduplicate_acl"><img alt="OCA/partner-contact" src="https://img.shields.io/badge/github-OCA%2Fpartner--contact-lightgray.png?logo=github" /></a> <a class="reference external" href="https://translation.odoo-community.org/projects/partner-contact-12-0/partner-contact-12-0-partner_deduplicate_acl"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external" href="https://runbot.odoo-community.org/runbot/134/12.0"><img alt="Try me on Runbot" src="https://img.shields.io/badge/runbot-Try%20me-875A7B.png" /></a></p>
<p>This module extends the functionality of the CRM contact deduplicator to add <p>This module extends the functionality of the CRM contact deduplicator to add
permission groups that allow the matching users to use those tools, not permission groups that allow the matching users to use those tools, not
needing to be the sale settings manager.</p> needing to be the sale settings manager.</p>
@ -377,7 +399,7 @@ Contacts</em>:</p>
<li><p class="first"><em>Manually</em> allows him to do the manual deduplication process.</p> <li><p class="first"><em>Manually</em> allows him to do the manual deduplication process.</p>
</li> </li>
<li><p class="first"><em>Automatically</em> allows him to do the automatic deduplication process.</p> <li><p class="first"><em>Automatically</em> allows him to do the automatic deduplication process.</p>
<div class="warning">
<div class="admonition warning">
<p class="first admonition-title">Warning</p> <p class="first admonition-title">Warning</p>
<p class="last">Automatic contact deduplication can easily lead to unwanted results. <p class="last">Automatic contact deduplication can easily lead to unwanted results.
Better backup before doing it.</p> Better backup before doing it.</p>
@ -387,7 +409,7 @@ Better backup before doing it.</p>
rigts, to be able to update objects where the user would normally not have 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 write rights, and to allow him to merge contacts with different email
addresses.</p> addresses.</p>
<div class="warning">
<div class="admonition warning">
<p class="first admonition-title">Warning</p> <p class="first admonition-title">Warning</p>
<p class="last">This is an advanced feature, be sure to train the user before enabling <p class="last">This is an advanced feature, be sure to train the user before enabling
this permission for him.</p> this permission for him.</p>
@ -407,10 +429,10 @@ this permission for him.</p>
</div> </div>
<div class="section" id="bug-tracker"> <div class="section" id="bug-tracker">
<h1><a class="toc-backref" href="#id3">Bug Tracker</a></h1> <h1><a class="toc-backref" href="#id3">Bug Tracker</a></h1>
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/crm/issues">GitHub Issues</a>.
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/partner-contact/issues">GitHub Issues</a>.
In case of trouble, please check there if your issue has already been reported. 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 If you spotted it first, help us smashing it by providing a detailed and welcomed
<a class="reference external" href="https://github.com/OCA/crm/issues/new?body=module:%20crm_deduplicate_acl%0Aversion:%2012.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
<a class="reference external" href="https://github.com/OCA/partner-contact/issues/new?body=module:%20partner_deduplicate_acl%0Aversion:%2012.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
<p>Do not contact contributors directly about support or help with technical issues.</p> <p>Do not contact contributors directly about support or help with technical issues.</p>
</div> </div>
<div class="section" id="credits"> <div class="section" id="credits">
@ -439,7 +461,7 @@ If you spotted it first, help us smashing it by providing a detailed and welcome
<p>OCA, or the Odoo Community Association, is a nonprofit organization whose <p>OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and mission is to support the collaborative development of Odoo features and
promote its widespread use.</p> promote its widespread use.</p>
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/crm/tree/12.0/crm_deduplicate_acl">OCA/crm</a> project on GitHub.</p>
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/partner-contact/tree/12.0/partner_deduplicate_acl">OCA/partner-contact</a> project on GitHub.</p>
<p>You are welcome to contribute. To learn how please visit <a class="reference external" href="https://odoo-community.org/page/Contribute">https://odoo-community.org/page/Contribute</a>.</p> <p>You are welcome to contribute. To learn how please visit <a class="reference external" href="https://odoo-community.org/page/Contribute">https://odoo-community.org/page/Contribute</a>.</p>
</div> </div>
</div> </div>

2
partner_deduplicate_acl/tests/__init__.py

@ -1,3 +1,3 @@
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
from . import test_crm_deduplicate_acl
from . import test_partner_deduplicate_acl

4
partner_deduplicate_acl/tests/test_crm_deduplicate_acl.py

@ -21,7 +21,7 @@ class TestCrmDeduplicateAcl(common.TransactionCase):
self.user = self.env['res.users'].create({ self.user = self.env['res.users'].create({
'login': 'test_crm_deduplicate_acl', 'login': 'test_crm_deduplicate_acl',
'name': 'test_crm_deduplicate_acl', 'name': 'test_crm_deduplicate_acl',
'email': 'crm_deduplicate_acl@example.org',
'email': 'partner_deduplicate_acl@example.org',
'groups_id': [ 'groups_id': [
(4, self.env.ref('base.group_user').id), (4, self.env.ref('base.group_user').id),
(4, self.env.ref('base.group_partner_manager').id), (4, self.env.ref('base.group_partner_manager').id),
@ -38,7 +38,7 @@ class TestCrmDeduplicateAcl(common.TransactionCase):
with self.assertRaises(exceptions.UserError): with self.assertRaises(exceptions.UserError):
self.wizard.action_merge() self.wizard.action_merge()
self.user.groups_id = [ self.user.groups_id = [
(4, self.env.ref('crm_deduplicate_acl.group_unrestricted').id),
(4, self.env.ref('partner_deduplicate_acl.group_unrestricted').id),
] ]
# Now there shouldn't be error # Now there shouldn't be error
self.wizard.action_merge() self.wizard.action_merge()

2
partner_deduplicate_acl/wizards/partner_merge.py

@ -14,7 +14,7 @@ class BasePartnerMergeAutomaticWizard(models.TransientModel):
rights to avoid the rise of exceptions. An special context key is rights to avoid the rise of exceptions. An special context key is
passed for preserving the message author. passed for preserving the message author.
""" """
if self.env.user.has_group('crm_deduplicate_acl.group_unrestricted'):
if self.env.user.has_group('partner_deduplicate_acl.group_unrestricted'):
obj = self.sudo().with_context(message_post_user=self.env.uid) obj = self.sudo().with_context(message_post_user=self.env.uid)
if dst_partner: if dst_partner:
dst_partner = dst_partner.with_context( dst_partner = dst_partner.with_context(

6
partner_deduplicate_acl/wizards/partner_merge_view.xml

@ -12,16 +12,16 @@
<field name="inherit_id" ref="base.base_partner_merge_automatic_wizard_form"/> <field name="inherit_id" ref="base.base_partner_merge_automatic_wizard_form"/>
<field name="arch" type="xml"> <field name="arch" type="xml">
<xpath expr="//button[@name='action_start_automatic_process']" position="attributes"> <xpath expr="//button[@name='action_start_automatic_process']" position="attributes">
<attribute name="groups">crm_deduplicate_acl.group_automatically</attribute>
<attribute name="groups">partner_deduplicate_acl.group_automatically</attribute>
</xpath> </xpath>
<xpath expr="//button[@name='action_update_all_process']" position="attributes"> <xpath expr="//button[@name='action_update_all_process']" position="attributes">
<attribute name="groups">crm_deduplicate_acl.group_automatically</attribute>
<attribute name="groups">partner_deduplicate_acl.group_automatically</attribute>
</xpath> </xpath>
</field> </field>
</record> </record>
<record id="base.action_partner_merge" model="ir.actions.act_window"> <record id="base.action_partner_merge" model="ir.actions.act_window">
<field name="groups_id" eval="[(4, ref('crm_deduplicate_acl.group_manually'))]"/>
<field name="groups_id" eval="[(4, ref('partner_deduplicate_acl.group_manually'))]"/>
</record> </record>
</odoo> </odoo>
Loading…
Cancel
Save