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 Dec 7, 2023
1 parent 6aaed62 commit e79e337
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 3 deletions.
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.
1 change: 1 addition & 0 deletions partner_identification_gln/static/description/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -416,6 +416,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 e79e337

Please sign in to comment.