Skip to content

Commit

Permalink
only users beloning to group 'Manually' should be able to merge partn…
Browse files Browse the repository at this point in the history
…ers from the partner list views (action 'Merge automatically') Use <record id="crm.action_partner_merge"... to change only affected field.
  • Loading branch information
JordiBForgeFlow authored and cesar-tecnativa committed Jul 5, 2022
1 parent 5ec4868 commit 7d20141
Show file tree
Hide file tree
Showing 19 changed files with 614 additions and 107 deletions.
11 changes: 5 additions & 6 deletions partner_deduplicate_acl/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ To use this module, you need to:

.. 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/8.0
:target: https://runbot.odoo-community.org/runbot/111/9.0

Known issues / Roadmap
======================
Expand All @@ -60,11 +60,7 @@ Bug Tracker
Bugs are tracked on `GitHub Issues
<https://github.com/OCA/crm/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
<https://github.com/OCA/
crm/issues/new?body=module:%20
crm_deduplicate_acl%0Aversion:%20
8.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
help us smashing it by providing a detailed and welcomed feedback.

Credits
=======
Expand All @@ -73,12 +69,15 @@ Images
------

* Odoo Community Association: `Icon <https://github.com/OCA/maintainer-tools/blob/master/template/module/static/description/icon.svg>`_.
* `Arrow <https://openclipart.org/detail/131875/convergent>`_.
* `Lock <http://fontawesome.io/icon/unlock-alt/>`_.

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

* Rafael Blasco <rafabn@antiun.com>
* Jairo Llopis <yajo.sk8@gmail.com>
* Vicent Cubells <vicent.cubells@tecnativa.com>

Maintainer
----------
Expand Down
3 changes: 2 additions & 1 deletion partner_deduplicate_acl/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# -*- coding: utf-8 -*-
# © 2016 Antiun Ingeniería S.L. - Jairo Llopis
# © 2016 Tecnativa, S.L. - Jairo Llopis
# © 2016 Tecnativa, S.L. - Vicent Cubells
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).

from . import wizards
11 changes: 7 additions & 4 deletions partner_deduplicate_acl/__openerp__.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
# -*- coding: utf-8 -*-
# © 2016 Antiun Ingeniería S.L. - Jairo Llopis
# © 2016 Tecnativa, S.L. - Jairo Llopis
# © 2016 Tecnativa, S.L. - Vicent Cubells
# 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": "8.0.1.0.0",
"version": "9.0.1.0.0",
"category": "Tools",
"website": "http://www.antiun.com",
"author": "Antiun Ingeniería S.L., Odoo Community Association (OCA)",
"website": "http://www.tecnativa.com",
"author": "Tecnativa, "
"Odoo Community Association (OCA)",
"license": "AGPL-3",
"application": False,
"installable": True,
Expand All @@ -17,6 +19,7 @@
"data": [
"security/crm_deduplicate_acl_security.xml",
"wizards/partner_merge_view.xml",
"views/base_partner_merge_view.xml",
],
"images": [
"images/perms.png",
Expand Down
51 changes: 51 additions & 0 deletions partner_deduplicate_acl/i18n/de.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * crm_deduplicate_acl
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 2016
# Rudolf Schnapka <rs@techno-flex.de>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 9.0c\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-03-28 02:27+0000\n"
"PO-Revision-Date: 2017-03-28 02:27+0000\n"
"Last-Translator: Rudolf Schnapka <rs@techno-flex.de>, 2017\n"
"Language-Team: German (https://www.transifex.com/oca/teams/23907/de/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: de\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

#. module: crm_deduplicate_acl
#: model:res.groups,name:crm_deduplicate_acl.group_automatically
msgid "Automatically"
msgstr "Automatisch"

#. 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 "Deduplizieren der Kontakte"

#. module: crm_deduplicate_acl
#: model:res.groups,name:crm_deduplicate_acl.group_manually
msgid "Manually"
msgstr "Manuell"

#. module: crm_deduplicate_acl
#: model:ir.ui.menu,name:crm_deduplicate_acl.root_menu
msgid "Tools"
msgstr "Werkzeuge"

#. module: crm_deduplicate_acl
#: model:res.groups,name:crm_deduplicate_acl.group_unrestricted
msgid "Without restrictions"
msgstr "Ohne Beschränkungen"

#. module: crm_deduplicate_acl
#: model:ir.model,name:crm_deduplicate_acl.model_base_partner_merge_automatic_wizard
msgid "base.partner.merge.automatic.wizard"
msgstr "base.partner.merge.automatic.wizard"
33 changes: 20 additions & 13 deletions partner_deduplicate_acl/i18n/es.po
Original file line number Diff line number Diff line change
@@ -1,21 +1,22 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * crm_deduplicate_acl
#
# * crm_deduplicate_acl
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 2016
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 8.0\n"
"Project-Id-Version: Odoo Server 9.0c\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-02-18 16:30+0000\n"
"PO-Revision-Date: 2016-02-18 17:32+0100\n"
"Last-Translator: <>\n"
"Language-Team: \n"
"POT-Creation-Date: 2017-03-16 03:45+0000\n"
"PO-Revision-Date: 2017-03-16 03:45+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2016\n"
"Language-Team: Spanish (https://www.transifex.com/oca/teams/23907/es/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: \n"
"Content-Transfer-Encoding: \n"
"Language: es\n"
"X-Generator: Poedit 1.8.6\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

#. module: crm_deduplicate_acl
#: model:res.groups,name:crm_deduplicate_acl.group_automatically
Expand All @@ -24,6 +25,7 @@ msgstr "Automáticamente"

#. 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 "Deduplicar contactos"

Expand All @@ -32,12 +34,17 @@ msgstr "Deduplicar contactos"
msgid "Manually"
msgstr "Manualmente"

#. module: crm_deduplicate_acl
#: model:ir.ui.menu,name:crm_deduplicate_acl.root_menu
msgid "Tools"
msgstr "Herramientas"

#. module: crm_deduplicate_acl
#: model:res.groups,name:crm_deduplicate_acl.group_unrestricted
msgid "Without restrictions"
msgstr "Sin restricciones"

#. module: crm_deduplicate_acl
#: view:base.partner.merge.automatic.wizard:crm_deduplicate_acl.base_partner_merge_automatic_wizard_form
msgid "crm_deduplicate_acl.group_automatically"
msgstr "crm_deduplicate_acl.group_automatically"
#: model:ir.model,name:crm_deduplicate_acl.model_base_partner_merge_automatic_wizard
msgid "base.partner.merge.automatic.wizard"
msgstr "base.partner.merge.automatic.wizard"
50 changes: 50 additions & 0 deletions partner_deduplicate_acl/i18n/hr.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * crm_deduplicate_acl
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 2016
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 9.0c\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-12-07 03:39+0000\n"
"PO-Revision-Date: 2016-12-07 03:39+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2016\n"
"Language-Team: Croatian (https://www.transifex.com/oca/teams/23907/hr/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: hr\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: crm_deduplicate_acl
#: model:res.groups,name:crm_deduplicate_acl.group_automatically
msgid "Automatically"
msgstr "Automatski"

#. 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 "Ukloni duple kontakte"

#. module: crm_deduplicate_acl
#: model:res.groups,name:crm_deduplicate_acl.group_manually
msgid "Manually"
msgstr "Ručno"

#. module: crm_deduplicate_acl
#: model:ir.ui.menu,name:crm_deduplicate_acl.root_menu
msgid "Tools"
msgstr ""

#. module: crm_deduplicate_acl
#: model:res.groups,name:crm_deduplicate_acl.group_unrestricted
msgid "Without restrictions"
msgstr "Bez ograničenja"

#. module: crm_deduplicate_acl
#: model:ir.model,name:crm_deduplicate_acl.model_base_partner_merge_automatic_wizard
msgid "base.partner.merge.automatic.wizard"
msgstr ""
50 changes: 50 additions & 0 deletions partner_deduplicate_acl/i18n/it.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * crm_deduplicate_acl
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 2016
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 9.0c\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-12-07 03:39+0000\n"
"PO-Revision-Date: 2016-12-07 03:39+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2016\n"
"Language-Team: Italian (https://www.transifex.com/oca/teams/23907/it/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: it\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

#. module: crm_deduplicate_acl
#: model:res.groups,name:crm_deduplicate_acl.group_automatically
msgid "Automatically"
msgstr "Automaticamente"

#. 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 "Deduplica Contatti"

#. module: crm_deduplicate_acl
#: model:res.groups,name:crm_deduplicate_acl.group_manually
msgid "Manually"
msgstr "Manualmente"

#. module: crm_deduplicate_acl
#: model:ir.ui.menu,name:crm_deduplicate_acl.root_menu
msgid "Tools"
msgstr ""

#. module: crm_deduplicate_acl
#: model:res.groups,name:crm_deduplicate_acl.group_unrestricted
msgid "Without restrictions"
msgstr "Senza restrinzioni"

#. module: crm_deduplicate_acl
#: model:ir.model,name:crm_deduplicate_acl.model_base_partner_merge_automatic_wizard
msgid "base.partner.merge.automatic.wizard"
msgstr ""
51 changes: 51 additions & 0 deletions partner_deduplicate_acl/i18n/pt_BR.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * crm_deduplicate_acl
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 2016
# danimaribeiro <danimaribeiro@gmail.com>, 2016
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 9.0c\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-12-07 03:39+0000\n"
"PO-Revision-Date: 2016-12-07 03:39+0000\n"
"Last-Translator: danimaribeiro <danimaribeiro@gmail.com>, 2016\n"
"Language-Team: Portuguese (Brazil) (https://www.transifex.com/oca/teams/23907/pt_BR/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: pt_BR\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"

#. module: crm_deduplicate_acl
#: model:res.groups,name:crm_deduplicate_acl.group_automatically
msgid "Automatically"
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 "Deduplicar contatos"

#. 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.root_menu
msgid "Tools"
msgstr "Ferramentas"

#. 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 ""
50 changes: 50 additions & 0 deletions partner_deduplicate_acl/i18n/sk.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * crm_deduplicate_acl
#
# Translators:
# gebri <gebri@inmail.sk>, 2016
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 9.0c\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-12-17 01:29+0000\n"
"PO-Revision-Date: 2016-12-17 01:29+0000\n"
"Last-Translator: gebri <gebri@inmail.sk>, 2016\n"
"Language-Team: Slovak (https://www.transifex.com/oca/teams/23907/sk/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: sk\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
msgid "Automatically"
msgstr "Automaticky"

#. 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 "Odduplikovať Kontakty"

#. module: crm_deduplicate_acl
#: model:res.groups,name:crm_deduplicate_acl.group_manually
msgid "Manually"
msgstr "Manuálne"

#. module: crm_deduplicate_acl
#: model:ir.ui.menu,name:crm_deduplicate_acl.root_menu
msgid "Tools"
msgstr "Nástroje"

#. module: crm_deduplicate_acl
#: model:res.groups,name:crm_deduplicate_acl.group_unrestricted
msgid "Without restrictions"
msgstr "Bez obmedzení"

#. module: crm_deduplicate_acl
#: model:ir.model,name:crm_deduplicate_acl.model_base_partner_merge_automatic_wizard
msgid "base.partner.merge.automatic.wizard"
msgstr "base.partner.merge.automatic.wizard"
Loading

0 comments on commit 7d20141

Please sign in to comment.