From faeccc1d0db65644d52890ed42b1378e7d58eab8 Mon Sep 17 00:00:00 2001 From: Patryk Pyczko Date: Fri, 19 Jul 2024 08:21:10 +0200 Subject: [PATCH] [MIG] crm_location: Migration to 17.0 --- crm_location/README.rst | 3 +++ crm_location/__manifest__.py | 2 +- crm_location/readme/CONTRIBUTORS.md | 2 ++ crm_location/static/description/index.html | 4 ++++ crm_location/tests/test_crm_location.py | 9 +++++---- 5 files changed, 15 insertions(+), 5 deletions(-) diff --git a/crm_location/README.rst b/crm_location/README.rst index 245465fb626..baa8965a4df 100644 --- a/crm_location/README.rst +++ b/crm_location/README.rst @@ -72,6 +72,9 @@ Contributors - Alexandre Díaz - Tharathip Chaweewongphan - Ruchir Shukla +- `APSL-Nagarro `__: + + - Patryk Pyczko Maintainers ----------- diff --git a/crm_location/__manifest__.py b/crm_location/__manifest__.py index e4c5283a8a4..591f5879265 100644 --- a/crm_location/__manifest__.py +++ b/crm_location/__manifest__.py @@ -5,7 +5,7 @@ { "name": "CRM location", "category": "Customer Relationship Management", - "version": "16.0.1.0.1", + "version": "17.0.1.0.0", "depends": ["crm", "base_location"], "data": ["views/crm_lead_view.xml"], "author": "Tecnativa, Odoo Community Association (OCA)", diff --git a/crm_location/readme/CONTRIBUTORS.md b/crm_location/readme/CONTRIBUTORS.md index c8f25e0b870..8d424250610 100644 --- a/crm_location/readme/CONTRIBUTORS.md +++ b/crm_location/readme/CONTRIBUTORS.md @@ -4,3 +4,5 @@ - Alexandre Díaz \<\> - Tharathip Chaweewongphan \<\> - Ruchir Shukla \<\> +- [APSL-Nagarro](): + - Patryk Pyczko \<\> diff --git a/crm_location/static/description/index.html b/crm_location/static/description/index.html index 28bef9da01b..97d3c1e2b59 100644 --- a/crm_location/static/description/index.html +++ b/crm_location/static/description/index.html @@ -418,6 +418,10 @@

Contributors

  • Alexandre Díaz <alexandre.diaz@tecnativa.com>
  • Tharathip Chaweewongphan <tharathipc@ecosoft.co.th>
  • Ruchir Shukla <ruchir@bizzappdev.com>
  • +
  • APSL-Nagarro: +
  • diff --git a/crm_location/tests/test_crm_location.py b/crm_location/tests/test_crm_location.py index 3f9bb815063..84c4339ce6f 100644 --- a/crm_location/tests/test_crm_location.py +++ b/crm_location/tests/test_crm_location.py @@ -2,15 +2,16 @@ # Copyright 2019 Tecnativa - Alexandre Díaz # License AGPL-3 - See https://www.gnu.org/licenses/agpl-3.0 -from odoo.tests import common +from odoo.addons.base.tests.common import BaseCommon -class TestCrmLocation(common.TransactionCase): +class TestCrmLocation(BaseCommon): @classmethod def setUpClass(cls): super().setUpClass() - cls.env = cls.env(context=dict(cls.env.context, tracking_disable=True)) - cls.country = cls.env["res.country"].create({"name": "Test country"}) + cls.country = cls.env["res.country"].create( + {"name": "Test country", "code": "AA"} + ) cls.state = cls.env["res.country.state"].create( { "name": "Test state",