Skip to content

Commit

Permalink
Merge PR #1806 into 17.0
Browse files Browse the repository at this point in the history
Signed-off-by pedrobaeza
  • Loading branch information
OCA-git-bot committed Jul 11, 2024
2 parents 61c520d + d75a682 commit 289e513
Show file tree
Hide file tree
Showing 25 changed files with 1,227 additions and 0 deletions.
105 changes: 105 additions & 0 deletions partner_deduplicate_filter/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,105 @@
======================================
Exclude records from the deduplication
======================================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:fcaabca1101e665df1566a3b6a14932949531921e4b649ab963d2647cffd9687
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |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%2Fpartner--contact-lightgray.png?logo=github
:target: https://github.com/OCA/partner-contact/tree/17.0/partner_deduplicate_filter
:alt: OCA/partner-contact
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/partner-contact-17-0/partner-contact-17-0-partner_deduplicate_filter
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
:target: https://runboat.odoo-community.org/builds?repo=OCA/partner-contact&target_branch=17.0
:alt: Try me on Runboat

|badge1| |badge2| |badge3| |badge4| |badge5|

This module extends the possibilities of the contact deduplication
allowing to filter the applicable set according to several criteria.

For now, only the filter for restricting the deduplication to only
companies or only contacts is implemented.

**Table of contents**

.. contents::
:local:

Usage
=====

To use this module, you need to:

1. Follow the instructions in the partner_deduplicate_acl addon to set
up the correct user permissions.
2. Go to *Contacts > Tools > Deduplicate Contacts*.
3. Mark "'Is a company?' field selected", "Parent company not set" or
"Parent company set (Contacts)" in the section 'Exclude contacts
having'.
4. This criteria will be used for excluding in the deduplication the
selected kind of records.

Bug Tracker
===========

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.
If you spotted it first, help us to smash it by providing a detailed and welcomed
`feedback <https://github.com/OCA/partner-contact/issues/new?body=module:%20partner_deduplicate_filter%0Aversion:%2017.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.

Credits
=======

Authors
-------

* Tecnativa

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

- `Tecnativa <https://www.tecnativa.com>`__:

- Pedro M. Baeza
- Vicent Cubells
- Luis M. Ontalba
- Victor M.M. Torres
- João Marques
- César A. Sánchez
- Stefan Ungureanu
- Carolina Fernandez

- Kevin Khao <kevin.khao@gmail.com>

Maintainers
-----------

This module is maintained by the OCA.

.. image:: https://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: https://odoo-community.org

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/partner-contact <https://github.com/OCA/partner-contact/tree/17.0/partner_deduplicate_filter>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
3 changes: 3 additions & 0 deletions partner_deduplicate_filter/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).

from . import wizards
17 changes: 17 additions & 0 deletions partner_deduplicate_filter/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Copyright 2016 Tecnativa - Pedro M. Baeza
# Copyright 2017 Tecnativa - Vicent Cubells
# Copyright 2019 Tecnativa - Victor M.M Torres
# Copyright 2024 Tecnativa - Carolina Fernandez
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).

{
"name": "Exclude records from the deduplication",
"version": "17.0.1.0.0",
"category": "Tools",
"website": "https://github.com/OCA/partner-contact",
"author": "Tecnativa, Odoo Community Association (OCA)",
"license": "AGPL-3",
"installable": True,
"depends": ["partner_deduplicate_acl"],
"data": ["wizards/partner_merge_view.xml"],
}
35 changes: 35 additions & 0 deletions partner_deduplicate_filter/i18n/crm_deduplicate_filter.pot
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * partner_deduplicate_filter
#
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_filter
#: model:ir.model.fields,field_description:partner_deduplicate_filter.field_base_partner_merge_automatic_wizard_exclude_is_company
msgid "'Is a company?' field selected"
msgstr ""

#. module: partner_deduplicate_filter
#: model:ir.model.fields,field_description:partner_deduplicate_filter.field_base_partner_merge_automatic_wizard_exclude_not_parent
msgid "Parent company not set"
msgstr ""

#. module: partner_deduplicate_filter
#: model:ir.model.fields,field_description:partner_deduplicate_filter.field_base_partner_merge_automatic_wizard_exclude_parent
msgid "Parent company set (Contacts)"
msgstr ""

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

39 changes: 39 additions & 0 deletions partner_deduplicate_filter/i18n/de.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * partner_deduplicate_filter
#
# Translators:
# 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"
"Language: de\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"

#. module: partner_deduplicate_filter
#: model:ir.model.fields,field_description:partner_deduplicate_filter.field_base_partner_merge_automatic_wizard__exclude_is_company
msgid "'Is a company?' field selected"
msgstr "'Ist Unternehmen'-Feld ausgewählt"

#. module: partner_deduplicate_filter
#: model:ir.model,name:partner_deduplicate_filter.model_base_partner_merge_automatic_wizard
msgid "Merge Partner Wizard"
msgstr ""

#. module: partner_deduplicate_filter
#: model:ir.model.fields,field_description:partner_deduplicate_filter.field_base_partner_merge_automatic_wizard__exclude_not_parent
msgid "Parent company not set"
msgstr "Übergeordnetes Unternehmen nicht gepflegt"

#. module: partner_deduplicate_filter
#: model:ir.model.fields,field_description:partner_deduplicate_filter.field_base_partner_merge_automatic_wizard__exclude_parent
msgid "Parent company set (Contacts)"
msgstr "Übergeordnetes Unternehmen gesetzt (Kontakte)"
40 changes: 40 additions & 0 deletions partner_deduplicate_filter/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * partner_deduplicate_filter
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 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: 2023-10-09 07:40+0000\n"
"Last-Translator: Ivorra78 <informatica@totmaterial.es>\n"
"Language-Team: Spanish (https://www.transifex.com/oca/teams/23907/es/)\n"
"Language: es\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"
"X-Generator: Weblate 4.17\n"

#. module: partner_deduplicate_filter
#: model:ir.model.fields,field_description:partner_deduplicate_filter.field_base_partner_merge_automatic_wizard__exclude_is_company
msgid "'Is a company?' field selected"
msgstr "El campo '¿Es una compañía?' seleccionado"

#. module: partner_deduplicate_filter
#: model:ir.model,name:partner_deduplicate_filter.model_base_partner_merge_automatic_wizard
msgid "Merge Partner Wizard"
msgstr "Asistente para la fusión de socios"

#. module: partner_deduplicate_filter
#: model:ir.model.fields,field_description:partner_deduplicate_filter.field_base_partner_merge_automatic_wizard__exclude_not_parent
msgid "Parent company not set"
msgstr "La compañía padre no establecida"

#. module: partner_deduplicate_filter
#: model:ir.model.fields,field_description:partner_deduplicate_filter.field_base_partner_merge_automatic_wizard__exclude_parent
msgid "Parent company set (Contacts)"
msgstr "La compañía padre establecida (Contactos)"
40 changes: 40 additions & 0 deletions partner_deduplicate_filter/i18n/hr.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * partner_deduplicate_filter
#
# Translators:
# Bole <bole@dajmi5.com>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-07-08 01:22+0000\n"
"PO-Revision-Date: 2017-07-08 01:22+0000\n"
"Last-Translator: Bole <bole@dajmi5.com>, 2017\n"
"Language-Team: Croatian (https://www.transifex.com/oca/teams/23907/hr/)\n"
"Language: hr\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \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: partner_deduplicate_filter
#: model:ir.model.fields,field_description:partner_deduplicate_filter.field_base_partner_merge_automatic_wizard__exclude_is_company
msgid "'Is a company?' field selected"
msgstr ""

#. module: partner_deduplicate_filter
#: model:ir.model,name:partner_deduplicate_filter.model_base_partner_merge_automatic_wizard
msgid "Merge Partner Wizard"
msgstr ""

#. module: partner_deduplicate_filter
#: model:ir.model.fields,field_description:partner_deduplicate_filter.field_base_partner_merge_automatic_wizard__exclude_not_parent
msgid "Parent company not set"
msgstr ""

#. module: partner_deduplicate_filter
#: model:ir.model.fields,field_description:partner_deduplicate_filter.field_base_partner_merge_automatic_wizard__exclude_parent
msgid "Parent company set (Contacts)"
msgstr ""
37 changes: 37 additions & 0 deletions partner_deduplicate_filter/i18n/it.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * partner_deduplicate_filter
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2023-12-27 09:37+0000\n"
"Last-Translator: mymage <stefano.consolaro@mymage.it>\n"
"Language-Team: none\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"
"X-Generator: Weblate 4.17\n"

#. module: partner_deduplicate_filter
#: model:ir.model.fields,field_description:partner_deduplicate_filter.field_base_partner_merge_automatic_wizard__exclude_is_company
msgid "'Is a company?' field selected"
msgstr "Campo 'È una azienda?' selezionato"

#. module: partner_deduplicate_filter
#: model:ir.model,name:partner_deduplicate_filter.model_base_partner_merge_automatic_wizard
msgid "Merge Partner Wizard"
msgstr "Procedura guidata unione partner"

#. module: partner_deduplicate_filter
#: model:ir.model.fields,field_description:partner_deduplicate_filter.field_base_partner_merge_automatic_wizard__exclude_not_parent
msgid "Parent company not set"
msgstr "Azienda partner non impostata"

#. module: partner_deduplicate_filter
#: model:ir.model.fields,field_description:partner_deduplicate_filter.field_base_partner_merge_automatic_wizard__exclude_parent
msgid "Parent company set (Contacts)"
msgstr "Imposta azienda partner (contatti)"
40 changes: 40 additions & 0 deletions partner_deduplicate_filter/i18n/nl_NL.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * partner_deduplicate_filter
#
# Translators:
# Peter Hageman <hageman.p@gmail.com>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-06-09 08:00+0000\n"
"PO-Revision-Date: 2017-06-09 08:00+0000\n"
"Last-Translator: Peter Hageman <hageman.p@gmail.com>, 2017\n"
"Language-Team: Dutch (Netherlands) (https://www.transifex.com/oca/"
"teams/23907/nl_NL/)\n"
"Language: nl_NL\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"

#. module: partner_deduplicate_filter
#: model:ir.model.fields,field_description:partner_deduplicate_filter.field_base_partner_merge_automatic_wizard__exclude_is_company
msgid "'Is a company?' field selected"
msgstr "'Is een bedrijf?' veld geselecteerd"

#. module: partner_deduplicate_filter
#: model:ir.model,name:partner_deduplicate_filter.model_base_partner_merge_automatic_wizard
msgid "Merge Partner Wizard"
msgstr ""

#. module: partner_deduplicate_filter
#: model:ir.model.fields,field_description:partner_deduplicate_filter.field_base_partner_merge_automatic_wizard__exclude_not_parent
msgid "Parent company not set"
msgstr "Moederbedrijf niet ingesteld"

#. module: partner_deduplicate_filter
#: model:ir.model.fields,field_description:partner_deduplicate_filter.field_base_partner_merge_automatic_wizard__exclude_parent
msgid "Parent company set (Contacts)"
msgstr ""
34 changes: 34 additions & 0 deletions partner_deduplicate_filter/i18n/partner_deduplicate_filter.pot
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * partner_deduplicate_filter
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.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_filter
#: model:ir.model.fields,field_description:partner_deduplicate_filter.field_base_partner_merge_automatic_wizard__exclude_is_company
msgid "'Is a company?' field selected"
msgstr ""

#. module: partner_deduplicate_filter
#: model:ir.model,name:partner_deduplicate_filter.model_base_partner_merge_automatic_wizard
msgid "Merge Partner Wizard"
msgstr ""

#. module: partner_deduplicate_filter
#: model:ir.model.fields,field_description:partner_deduplicate_filter.field_base_partner_merge_automatic_wizard__exclude_not_parent
msgid "Parent company not set"
msgstr ""

#. module: partner_deduplicate_filter
#: model:ir.model.fields,field_description:partner_deduplicate_filter.field_base_partner_merge_automatic_wizard__exclude_parent
msgid "Parent company set (Contacts)"
msgstr ""
Loading

0 comments on commit 289e513

Please sign in to comment.