Skip to content

Commit

Permalink
[MIG] partner_identification_gln: Migration to 17.0
Browse files Browse the repository at this point in the history
  • Loading branch information
NICO-SOLUTIONS committed May 16, 2024
1 parent d1621d4 commit fc07069
Show file tree
Hide file tree
Showing 11 changed files with 47 additions and 67 deletions.
56 changes: 28 additions & 28 deletions base_partner_sequence/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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**

Expand All @@ -59,34 +59,34 @@ Credits
=======

Authors
~~~~~~~
-------

* Tiny/initOS GmbH & Co. KG
* ACSONE SA/NV
* Tecnativa
* Camptocamp

Contributors
~~~~~~~~~~~~

* Thomas Rehn <thomas.rehn@initos.com>
* Stefan Rijnhart <stefan@therp.nl>
* Yannick Vaucher <yannick.vaucher@camptocamp.com>
* Sandy Carter <sandy.carter@savoirfairelinux.com>
* Laurent Mignon (ACSONE) <laurent.mignon@acsone.eu>
* Guewen Baconnier <guewen.baconnier@camptocamp.com>
* Alexandre Fayolle <alexandre.fayolle@camptocamp.com>
* Vicent Cubells <vicent.cubells@tecnativa.com>
* Akim Juillerat <akim.juillerat@camptocamp.com>
* Cas Vissers <c.vissers@brahoo.nl>
* Quentin Groulard <quentin.groulard@acsone.eu>
* Kevin Khao <kevinkhao@gmail.com>
* Francesco Apruzzese <cescoap@gmail.com>
* Daniel Reis <dreis@opensourceintegrators.com>
* Nikul Chaudhary <nchaudhary@opensourceintegrators.com>
------------

- Thomas Rehn <thomas.rehn@initos.com>
- Stefan Rijnhart <stefan@therp.nl>
- Yannick Vaucher <yannick.vaucher@camptocamp.com>
- Sandy Carter <sandy.carter@savoirfairelinux.com>
- Laurent Mignon (ACSONE) <laurent.mignon@acsone.eu>
- Guewen Baconnier <guewen.baconnier@camptocamp.com>
- Alexandre Fayolle <alexandre.fayolle@camptocamp.com>
- Vicent Cubells <vicent.cubells@tecnativa.com>
- Akim Juillerat <akim.juillerat@camptocamp.com>
- Cas Vissers <c.vissers@brahoo.nl>
- Quentin Groulard <quentin.groulard@acsone.eu>
- Kevin Khao <kevinkhao@gmail.com>
- Francesco Apruzzese <cescoap@gmail.com>
- Daniel Reis <dreis@opensourceintegrators.com>
- Nikul Chaudhary <nchaudhary@opensourceintegrators.com>

Maintainers
~~~~~~~~~~~
-----------

This module is maintained by the OCA.

Expand Down
15 changes: 0 additions & 15 deletions base_partner_sequence/readme/CONTRIBUTORS.rst

This file was deleted.

11 changes: 0 additions & 11 deletions base_partner_sequence/readme/DESCRIPTION.rst

This file was deleted.

18 changes: 9 additions & 9 deletions base_partner_sequence/static/description/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -369,15 +369,15 @@ <h1 class="title">Add a sequence on customers’ code</h1>
!! source digest: sha256:adaae2ffb987174eef0a3d40dadfe703454df576877555955035587244fb8221
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Production/Stable" src="https://img.shields.io/badge/maturity-Production%2FStable-green.png" /></a> <a class="reference external image-reference" 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 image-reference" href="https://github.com/OCA/partner-contact/tree/17.0/base_partner_sequence"><img alt="OCA/partner-contact" src="https://img.shields.io/badge/github-OCA%2Fpartner--contact-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/partner-contact-17-0/partner-contact-17-0-base_partner_sequence"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/partner-contact&amp;target_branch=17.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
<p>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.</p>
<p>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.</p>
<p>No references are assigned for contacts such as shipping and
invoice addresses.</p>
<p>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.</p>
<p>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.</p>
<p>No references are assigned for contacts such as shipping and invoice
addresses.</p>
<p><strong>Table of contents</strong></p>
<div class="contents local topic" id="contents">
<ul class="simple">
Expand Down
1 change: 1 addition & 0 deletions partner_identification_gln/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,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>

Other credits
-------------
Expand Down
2 changes: 1 addition & 1 deletion partner_identification_gln/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
<?xml version="1.0" encoding="utf-8" ?>
<!-- Copyright 2016-2017 ACSONE SA/NV (<http://acsone.eu>)
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). -->
<odoo>
Expand Down
1 change: 1 addition & 0 deletions partner_identification_gln/readme/CONTRIBUTORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@
- 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>\>
1 change: 0 additions & 1 deletion partner_identification_gln/static/description/icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion partner_identification_gln/static/description/index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
Expand Down Expand Up @@ -416,6 +415,7 @@ <h2><a class="toc-backref" href="#toc-entry-5">Contributors</a></h2>
<li>Bejaoui Souheil &lt;<a class="reference external" href="mailto:souheil.bejaoui&#64;acsone.eu">souheil.bejaoui&#64;acsone.eu</a>&gt;</li>
<li>Simone Orsi &lt;<a class="reference external" href="mailto:simone.orsi&#64;camptocamp.com">simone.orsi&#64;camptocamp.com</a>&gt;</li>
<li>Duong (Tran Quoc) &lt;<a class="reference external" href="mailto:duongtq&#64;trobz.com">duongtq&#64;trobz.com</a>&gt;</li>
<li>Nils Coenen &lt;<a class="reference external" href="mailto:nils.coenen&#64;nico-solutions.de">nils.coenen&#64;nico-solutions.de</a>&gt;</li>
</ul>
</div>
<div class="section" id="other-credits">
Expand Down
6 changes: 6 additions & 0 deletions partner_identification_gln/tests/test_gln.py
Original file line number Diff line number Diff line change
@@ -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

Expand Down Expand Up @@ -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)
)

0 comments on commit fc07069

Please sign in to comment.