diff --git a/base_partner_sequence/README.rst b/base_partner_sequence/README.rst index 80b782b4aa5b..c3107356fdb9 100644 --- a/base_partner_sequence/README.rst +++ b/base_partner_sequence/README.rst @@ -28,17 +28,17 @@ Add a sequence on customers' code |badge1| |badge2| |badge3| |badge4| |badge5| -This module adds the possibility to define a sequence for -the partner's reference. This reference is then set as default -when you create a new partner, using the defined sequence. +This module adds the possibility to define a sequence for the partner's +reference. This reference is then set as default when you create a new +partner, using the defined sequence. -The reference field is treated as a commercial field, i.e. it -is managed from the commercial partner and then propagated to -the partner's contacts. The field is visible on the contacts, -but it can only be modified from the commercial partner. +The reference field is treated as a commercial field, i.e. it is managed +from the commercial partner and then propagated to the partner's +contacts. The field is visible on the contacts, but it can only be +modified from the commercial partner. -No references are assigned for contacts such as shipping and -invoice addresses. +No references are assigned for contacts such as shipping and invoice +addresses. **Table of contents** @@ -59,7 +59,7 @@ Credits ======= Authors -~~~~~~~ +------- * Tiny/initOS GmbH & Co. KG * ACSONE SA/NV @@ -67,26 +67,26 @@ Authors * Camptocamp Contributors -~~~~~~~~~~~~ - -* Thomas Rehn -* Stefan Rijnhart -* Yannick Vaucher -* Sandy Carter -* Laurent Mignon (ACSONE) -* Guewen Baconnier -* Alexandre Fayolle -* Vicent Cubells -* Akim Juillerat -* Cas Vissers -* Quentin Groulard -* Kevin Khao -* Francesco Apruzzese -* Daniel Reis -* Nikul Chaudhary +------------ + +- Thomas Rehn +- Stefan Rijnhart +- Yannick Vaucher +- Sandy Carter +- Laurent Mignon (ACSONE) +- Guewen Baconnier +- Alexandre Fayolle +- Vicent Cubells +- Akim Juillerat +- Cas Vissers +- Quentin Groulard +- Kevin Khao +- Francesco Apruzzese +- Daniel Reis +- Nikul Chaudhary Maintainers -~~~~~~~~~~~ +----------- This module is maintained by the OCA. diff --git a/base_partner_sequence/readme/CONTRIBUTORS.rst b/base_partner_sequence/readme/CONTRIBUTORS.rst deleted file mode 100644 index d2c0b51b1b11..000000000000 --- a/base_partner_sequence/readme/CONTRIBUTORS.rst +++ /dev/null @@ -1,15 +0,0 @@ -* Thomas Rehn -* Stefan Rijnhart -* Yannick Vaucher -* Sandy Carter -* Laurent Mignon (ACSONE) -* Guewen Baconnier -* Alexandre Fayolle -* Vicent Cubells -* Akim Juillerat -* Cas Vissers -* Quentin Groulard -* Kevin Khao -* Francesco Apruzzese -* Daniel Reis -* Nikul Chaudhary diff --git a/base_partner_sequence/readme/DESCRIPTION.rst b/base_partner_sequence/readme/DESCRIPTION.rst deleted file mode 100644 index 6a6730795970..000000000000 --- a/base_partner_sequence/readme/DESCRIPTION.rst +++ /dev/null @@ -1,11 +0,0 @@ -This module adds the possibility to define a sequence for -the partner's reference. This reference is then set as default -when you create a new partner, using the defined sequence. - -The reference field is treated as a commercial field, i.e. it -is managed from the commercial partner and then propagated to -the partner's contacts. The field is visible on the contacts, -but it can only be modified from the commercial partner. - -No references are assigned for contacts such as shipping and -invoice addresses. diff --git a/base_partner_sequence/static/description/index.html b/base_partner_sequence/static/description/index.html index dbbda5e27c85..4799a18db120 100644 --- a/base_partner_sequence/static/description/index.html +++ b/base_partner_sequence/static/description/index.html @@ -369,15 +369,15 @@

Add a sequence on customers’ code

!! source digest: sha256:adaae2ffb987174eef0a3d40dadfe703454df576877555955035587244fb8221 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->

Production/Stable License: AGPL-3 OCA/partner-contact Translate me on Weblate Try me on Runboat

-

This module adds the possibility to define a sequence for -the partner’s reference. This reference is then set as default -when you create a new partner, using the defined sequence.

-

The reference field is treated as a commercial field, i.e. it -is managed from the commercial partner and then propagated to -the partner’s contacts. The field is visible on the contacts, -but it can only be modified from the commercial partner.

-

No references are assigned for contacts such as shipping and -invoice addresses.

+

This module adds the possibility to define a sequence for the partner’s +reference. This reference is then set as default when you create a new +partner, using the defined sequence.

+

The reference field is treated as a commercial field, i.e. it is managed +from the commercial partner and then propagated to the partner’s +contacts. The field is visible on the contacts, but it can only be +modified from the commercial partner.

+

No references are assigned for contacts such as shipping and invoice +addresses.

Table of contents

    diff --git a/partner_identification_gln/README.rst b/partner_identification_gln/README.rst index 4076197456be..b2461bd209ec 100644 --- a/partner_identification_gln/README.rst +++ b/partner_identification_gln/README.rst @@ -70,6 +70,7 @@ Contributors - Bejaoui Souheil - Simone Orsi - Duong (Tran Quoc) +- Nils Coenen Other credits ------------- diff --git a/partner_identification_gln/__manifest__.py b/partner_identification_gln/__manifest__.py index eb149347ae2e..b68d6713c678 100644 --- a/partner_identification_gln/__manifest__.py +++ b/partner_identification_gln/__manifest__.py @@ -5,7 +5,7 @@ "summary": """ This addon extends "Partner Identification Numbers" to provide a number category for GLN registration""", - "version": "16.0.1.0.1", + "version": "17.0.1.0.0", "license": "AGPL-3", "author": "Acsone S.A.,Odoo Community Association (OCA)", "website": "https://github.com/OCA/partner-contact", diff --git a/partner_identification_gln/data/partner_identification_gln.xml b/partner_identification_gln/data/partner_identification_gln.xml index d917e776a0c4..5704b717f6da 100644 --- a/partner_identification_gln/data/partner_identification_gln.xml +++ b/partner_identification_gln/data/partner_identification_gln.xml @@ -1,4 +1,3 @@ - diff --git a/partner_identification_gln/readme/CONTRIBUTORS.md b/partner_identification_gln/readme/CONTRIBUTORS.md index cdf8991b3a32..dcb0769a1e49 100644 --- a/partner_identification_gln/readme/CONTRIBUTORS.md +++ b/partner_identification_gln/readme/CONTRIBUTORS.md @@ -4,3 +4,4 @@ - Bejaoui Souheil \<\> - Simone Orsi \<\> - Duong (Tran Quoc) \<\> +- Nils Coenen \<\> diff --git a/partner_identification_gln/static/description/icon.svg b/partner_identification_gln/static/description/icon.svg index a7a26d0932ab..22ee03150975 100644 --- a/partner_identification_gln/static/description/icon.svg +++ b/partner_identification_gln/static/description/icon.svg @@ -1,4 +1,3 @@ - @@ -416,6 +415,7 @@

    Contributors

  • Bejaoui Souheil <souheil.bejaoui@acsone.eu>
  • Simone Orsi <simone.orsi@camptocamp.com>
  • Duong (Tran Quoc) <duongtq@trobz.com>
  • +
  • Nils Coenen <nils.coenen@nico-solutions.de>
diff --git a/partner_identification_gln/tests/test_gln.py b/partner_identification_gln/tests/test_gln.py index 213103e85650..7a5b148796f4 100644 --- a/partner_identification_gln/tests/test_gln.py +++ b/partner_identification_gln/tests/test_gln.py @@ -1,6 +1,7 @@ # Copyright 2016 Acsone S.A. # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + from odoo.exceptions import ValidationError from odoo.tests.common import TransactionCase @@ -70,3 +71,8 @@ def test_gcp_with_no_number(self): self.assertFalse( self.partner_id_gcp_category.validate_res_partner_gln(id_number=None) ) + + def test_validate_res_partner_gcp_return_false(self): + self.assertFalse( + self.partner_id_category.validate_res_partner_gcp(id_number=None) + )