Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[18.0][MIG] partner_vat_unique: Migration to 18.0 #1906

Open
wants to merge 48 commits into
base: 18.0
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
3b41663
[ADD] partner_vat_unique, check unique VAT number
Nov 29, 2017
d5b3407
[MIG] partner_vat_unique: Migration to 10.0
cubells Apr 17, 2018
9a77805
[UPD] Update partner_vat_unique.pot
oca-travis Jun 18, 2018
d8a6bfd
[MIG] partner_vat_unique: Migration to 11.0
michotm Aug 7, 2018
5c88dc3
[UPD] Update partner_vat_unique.pot
oca-travis Aug 8, 2018
1665d40
[MIG] partner_vat_unique: Migration to 12.0
koenloodts Nov 26, 2018
10785a7
[UPD] Update partner_vat_unique.pot
oca-travis Mar 1, 2019
d2f7966
Translated using Weblate (Spanish)
mvrodriguez Mar 1, 2019
6f43dbf
Added translation using Weblate (Italian)
MarcoCalcagni Aug 9, 2019
ab48f5e
Translated using Weblate (Italian)
MarcoCalcagni Aug 9, 2019
16a30be
Added translation using Weblate (Portuguese)
pedrocs-exo Aug 12, 2019
fdfde38
Translated using Weblate (Portuguese)
pedrocs-exo Aug 12, 2019
08742d9
[FIX] partner_vat_unique: Do not copy vat field
sergio-teruel Sep 13, 2019
07af448
partner_vat_unique 12.0.1.0.1
OCA-git-bot Sep 13, 2019
b95efcb
[IMP] partner_vat_unique: black, isort
Feb 19, 2020
2254aeb
[MIG] partner_vat_unique: Migration to 13.0
Feb 19, 2020
091cda7
[UPD] Update partner_vat_unique.pot
oca-travis Mar 25, 2020
0209b67
Update translation files
oca-transbot Mar 29, 2020
768760d
[MIG] partner_vat_unique: Migration to 14.0
newtratip Oct 15, 2020
8dc39f7
[UPD] Update partner_vat_unique.pot
oca-travis Oct 17, 2020
ea56ac0
Translated using Weblate (Spanish)
pedrobaeza Jul 29, 2021
216f092
[MIG] partner_vat_unique: Migration to 15.0
alan196 Feb 25, 2022
1538f12
[UPD] Update partner_vat_unique.pot
Jul 12, 2022
0a36de3
[UPD] README.rst
OCA-git-bot Jul 12, 2022
b3d0830
[16][MIG] partner_vat_unique: Migration to 16.0
AnizR Oct 10, 2022
ca9e6cb
add parent_id in api.constrains of res_partner model
AnizR Oct 7, 2022
a845eab
[UPD] Update partner_vat_unique.pot
Oct 20, 2022
a2fff95
[UPD] README.rst
OCA-git-bot Oct 20, 2022
4c37d95
Added translation using Weblate (German)
marylla Nov 4, 2022
bff2dd9
Translated using Weblate (German)
marylla Nov 4, 2022
f23f71f
[UPD] Update partner_vat_unique.pot
Nov 23, 2022
96329d4
Update translation files
weblate Nov 23, 2022
f8c2a16
Added translation using Weblate (Croatian)
badbole Jan 3, 2023
a751ff4
Translated using Weblate (Croatian)
badbole Jan 3, 2023
517307a
[UPD] Update partner_vat_unique.pot
Jan 31, 2023
0a466d7
Update translation files
weblate Jan 31, 2023
ae8dd8c
Translated using Weblate (Spanish)
Gelo-fl Apr 17, 2023
2edf800
Added translation using Weblate (French)
victor-champonnois Jun 2, 2023
28a6889
[UPD] README.rst
OCA-git-bot Sep 3, 2023
3f0f472
Translated using Weblate (Portuguese)
pedrocs-exo Oct 15, 2023
9241c5c
Translated using Weblate (Italian)
mymage Dec 26, 2023
21b978f
[IMP] partner_vat_unique: pre-commit execution
rov-adhoc Jan 24, 2024
ceaf86c
[MIG] partner_vat_unique: Migration to 17.0
rov-adhoc Jan 24, 2024
dd396ac
[UPD] Update partner_vat_unique.pot
Mar 1, 2024
aec4541
[BOT] post-merge updates
OCA-git-bot Mar 1, 2024
246deb4
[IMP] partner_contact_role: pre-commit execution
jdidderen-nsi Aug 7, 2024
6e33608
[MIG] partner_vat_unique: Migration to 18.0
lef-adhoc Nov 28, 2024
1a7c237
[IMP] partner_vat_unique: add configuration parameter for unique VAT …
lef-adhoc Nov 29, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
103 changes: 103 additions & 0 deletions partner_vat_unique/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,103 @@
==================
Partner VAT Unique
==================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:0b902183f3c23cf1aff8832ff5266674215d4c6c966f2e4d40762a7524a8e3b9
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |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/18.0/partner_vat_unique
: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-18-0/partner-contact-18-0-partner_vat_unique
: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=18.0
:alt: Try me on Runboat

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

Module to make the VAT number unique for customers and suppliers. Will
not consider empty VATs as duplicated.

**Table of contents**

.. contents::
:local:

Installation
============

Will not check previous VAT duplicates, so it is recomended make sure
there isn't any duplicated VAT before installation.

Known issues / Roadmap
======================

- Creation of the partner from XML-RPC.
- Partner creation by importing a CSV file, in those cases you miss the
notice.

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_vat_unique%0Aversion:%2018.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
-------

* Grant Thornton S.L.P

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

- Ismael Calvo <[email protected]>

- Michael Michot <[email protected]>

- Koen Loodts <[email protected]>

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

- Vicent Cubells <[email protected]>
- Manuel Calero - Tecnativa

- Tharathip Chaweewongphan <[email protected]>

- Alan Ramos <[email protected]>

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/18.0/partner_vat_unique>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
1 change: 1 addition & 0 deletions partner_vat_unique/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
18 changes: 18 additions & 0 deletions partner_vat_unique/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Copyright 2017 Grant Thornton Spain - Ismael Calvo <[email protected]>
# Copyright 2020 Manuel Calero - Tecnativa
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).
{
"name": "Partner VAT Unique",
"summary": "Module to make the VAT number unique for customers and suppliers.",
"version": "18.0.1.0.0",
"category": "Customer Relationship Management",
"website": "https://github.com/OCA/partner-contact",
"author": "Grant Thornton S.L.P, Odoo Community Association (OCA)",
"license": "AGPL-3",
"application": True,
"installable": True,
"depends": ["base_setup"],
"data": [
"views/res_config_settings_views.xml",
],
}
51 changes: 51 additions & 0 deletions partner_vat_unique/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:
# * partner_vat_unique
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2022-11-04 14:44+0000\n"
"Last-Translator: Maria Sparenberg <[email protected]>\n"
"Language-Team: none\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"
"X-Generator: Weblate 4.14.1\n"

#. module: partner_vat_unique
#: model:ir.model,name:partner_vat_unique.model_res_partner
msgid "Contact"
msgstr "Kontakt"

#. module: partner_vat_unique
#: model:ir.model.fields,field_description:partner_vat_unique.field_res_partner__vat
#: model:ir.model.fields,field_description:partner_vat_unique.field_res_users__vat
msgid "Tax ID"
msgstr "USt-ID"

#. module: partner_vat_unique
#: model:ir.model.fields,help:partner_vat_unique.field_res_partner__vat
#: model:ir.model.fields,help:partner_vat_unique.field_res_users__vat
msgid ""
"The Tax Identification Number. Values here will be validated based on the "
"country format. You can use '/' to indicate that the partner is not subject "
"to tax."
msgstr ""

#. module: partner_vat_unique
#. odoo-python
#: code:addons/partner_vat_unique/models/res_partner.py:0
#, python-format
msgid "The VAT %s already exists in another partner."
msgstr "Die USt-ID %s wurde bereits bei einem anderen Partner verwendet."

#~ msgid ""
#~ "The Tax Identification Number. Complete it if the contact is subjected to "
#~ "government taxes. Used in some legal statements."
#~ msgstr ""
#~ "Dies ist die Umsatzsteuer-Identifikationsnummer. Dies sollte ausgefüllt "
#~ "sein, wenn der Partner Steuern abführen muss."
58 changes: 58 additions & 0 deletions partner_vat_unique/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * partner_vat_unique
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0+e\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-11-29 11:43+0000\n"
"PO-Revision-Date: 2023-04-17 16:35+0000\n"
"Last-Translator: gelo joga Rodríguez <[email protected]>\n"
"Language-Team: \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.14.1\n"

#. module: partner_vat_unique
#: model:ir.model,name:partner_vat_unique.model_res_partner
msgid "Contact"
msgstr "Contacto"

#. module: partner_vat_unique
#: model:ir.model.fields,field_description:partner_vat_unique.field_res_partner__vat
#: model:ir.model.fields,field_description:partner_vat_unique.field_res_users__vat
msgid "Tax ID"
msgstr "NIF"

#. module: partner_vat_unique
#: model:ir.model.fields,help:partner_vat_unique.field_res_partner__vat
#: model:ir.model.fields,help:partner_vat_unique.field_res_users__vat
msgid ""
"The Tax Identification Number. Values here will be validated based on the "
"country format. You can use '/' to indicate that the partner is not subject "
"to tax."
msgstr ""
"El número de Identificación Fiscal. Los valores aquí se validarán en función "
"del formato de cada país. Puedes usar '/' para indicar que el partner no "
"está sujeto a tener una identificación fiscal."

#. module: partner_vat_unique
#. odoo-python
#: code:addons/partner_vat_unique/models/res_partner.py:0
#, python-format
msgid "The VAT %s already exists in another partner."
msgstr "El NIF %s debe de ser único por empresa."

#~ msgid ""
#~ "The Tax Identification Number. Complete it if the contact is subjected to "
#~ "government taxes. Used in some legal statements."
#~ msgstr ""
#~ "Complete el número de identificación fiscal si el contacto está sujeto a "
#~ "impuestos gubernamentales. Utilizado en algunas declaraciones legales"

#~ msgid "Partner"
#~ msgstr "Empresa"
42 changes: 42 additions & 0 deletions partner_vat_unique/i18n/fr.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * partner_vat_unique
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
"Language: fr\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_vat_unique
#: model:ir.model,name:partner_vat_unique.model_res_partner
msgid "Contact"
msgstr ""

#. module: partner_vat_unique
#: model:ir.model.fields,field_description:partner_vat_unique.field_res_partner__vat
#: model:ir.model.fields,field_description:partner_vat_unique.field_res_users__vat
msgid "Tax ID"
msgstr ""

#. module: partner_vat_unique
#: model:ir.model.fields,help:partner_vat_unique.field_res_partner__vat
#: model:ir.model.fields,help:partner_vat_unique.field_res_users__vat
msgid ""
"The Tax Identification Number. Values here will be validated based on the "
"country format. You can use '/' to indicate that the partner is not subject "
"to tax."
msgstr ""

#. module: partner_vat_unique
#. odoo-python
#: code:addons/partner_vat_unique/models/res_partner.py:0
#, python-format
msgid "The VAT %s already exists in another partner."
msgstr ""
52 changes: 52 additions & 0 deletions partner_vat_unique/i18n/hr.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * partner_vat_unique
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2023-01-04 02:40+0000\n"
"Last-Translator: Bole <[email protected]>\n"
"Language-Team: none\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"
"X-Generator: Weblate 4.14.1\n"

#. module: partner_vat_unique
#: model:ir.model,name:partner_vat_unique.model_res_partner
msgid "Contact"
msgstr "Kontakt"

#. module: partner_vat_unique
#: model:ir.model.fields,field_description:partner_vat_unique.field_res_partner__vat
#: model:ir.model.fields,field_description:partner_vat_unique.field_res_users__vat
msgid "Tax ID"
msgstr "Porezni broj"

#. module: partner_vat_unique
#: model:ir.model.fields,help:partner_vat_unique.field_res_partner__vat
#: model:ir.model.fields,help:partner_vat_unique.field_res_users__vat
msgid ""
"The Tax Identification Number. Values here will be validated based on the "
"country format. You can use '/' to indicate that the partner is not subject "
"to tax."
msgstr ""

#. module: partner_vat_unique
#. odoo-python
#: code:addons/partner_vat_unique/models/res_partner.py:0
#, python-format
msgid "The VAT %s already exists in another partner."
msgstr "Porezni broj %s već postoji na drugom partneru."

#~ msgid ""
#~ "The Tax Identification Number. Complete it if the contact is subjected to "
#~ "government taxes. Used in some legal statements."
#~ msgstr ""
#~ "Porezni broj. Popunite ga ako je kontakt u sustavu PDV. Koristi se u "
#~ "poreznim izvještajima."
47 changes: 47 additions & 0 deletions partner_vat_unique/i18n/it.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * partner_vat_unique
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 12.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2023-12-26 14:48+0000\n"
"Last-Translator: mymage <[email protected]>\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_vat_unique
#: model:ir.model,name:partner_vat_unique.model_res_partner
msgid "Contact"
msgstr "Contatto"

#. module: partner_vat_unique
#: model:ir.model.fields,field_description:partner_vat_unique.field_res_partner__vat
#: model:ir.model.fields,field_description:partner_vat_unique.field_res_users__vat
msgid "Tax ID"
msgstr "Partita IVA"

#. module: partner_vat_unique
#: model:ir.model.fields,help:partner_vat_unique.field_res_partner__vat
#: model:ir.model.fields,help:partner_vat_unique.field_res_users__vat
msgid ""
"The Tax Identification Number. Values here will be validated based on the "
"country format. You can use '/' to indicate that the partner is not subject "
"to tax."
msgstr ""
"Il numero identificazione tassa. I valori verranno validati nel formato "
"della nazione. Si può utilizzare '/' per indicare che il partner non è "
"soggetto alla tassa."

#. module: partner_vat_unique
#. odoo-python
#: code:addons/partner_vat_unique/models/res_partner.py:0
#, python-format
msgid "The VAT %s already exists in another partner."
msgstr "La Partita Iva %s è già assegnata ad un altro partner."
Loading
Loading