From a79de8845605f8d6eef2736d72cbd6d4899b4f77 Mon Sep 17 00:00:00 2001 From: Quentin Groulard Date: Mon, 10 Dec 2018 17:25:52 +0100 Subject: [PATCH] [MIG] Base Partner Sequence: Migration to 12.0 Bump module version to 12.0.1.0.0 Use README by fragment system Remove copyrights Update website Add development_status --- base_partner_sequence/README.rst | 84 ------------------- base_partner_sequence/__init__.py | 4 - base_partner_sequence/__manifest__.py | 17 ++-- base_partner_sequence/models/__init__.py | 4 - base_partner_sequence/readme/CONTRIBUTORS.rst | 11 +++ base_partner_sequence/readme/DESCRIPTION.rst | 11 +++ base_partner_sequence/tests/__init__.py | 3 - .../tests/test_base_partner_sequence.py | 2 +- 8 files changed, 33 insertions(+), 103 deletions(-) delete mode 100644 base_partner_sequence/README.rst create mode 100644 base_partner_sequence/readme/CONTRIBUTORS.rst create mode 100644 base_partner_sequence/readme/DESCRIPTION.rst diff --git a/base_partner_sequence/README.rst b/base_partner_sequence/README.rst deleted file mode 100644 index acdb03db3..000000000 --- a/base_partner_sequence/README.rst +++ /dev/null @@ -1,84 +0,0 @@ -.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg - :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html - :alt: License: AGPL-3 - -===================== -Base Partner 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. - -No references are assigned for contacts such as shipping and -invoice addresses. - -Installation -============ - -There are no special instructions regarding installation. - -Configuration -============= - -No configuration is needed. - -Usage -===== - -To use this module, you need to: - -.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas - :alt: Try me on Runbot - :target: https://runbot.odoo-community.org/runbot/134/10.0 - - -Bug Tracker -=========== - -Bugs are tracked on `GitHub Issues -`_. In case of trouble, please -check there if your issue has already been reported. If you spotted it first, -help us smashing it by providing a detailed and welcomed feedback. - -Credits -======= - -Images ------- - -* Odoo Community Association: `Icon `_. - -Contributors ------------- - -* Thomas Rehn -* Stefan Rijnhart -* Yannick Vaucher -* Sandy Carter -* Laurent Mignon (ACSONE) -* Guewen Baconnier -* Alexandre Fayolle -* Vicent Cubells -* Akim Juillerat - - -Maintainer ----------- - -.. image:: https://odoo-community.org/logo.png - :alt: Odoo Community Association - :target: https://odoo-community.org - -This module is maintained by the OCA. - -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. - -To contribute to this module, please visit https://odoo-community.org. diff --git a/base_partner_sequence/__init__.py b/base_partner_sequence/__init__.py index 0b9e04a87..cfc40a3ea 100644 --- a/base_partner_sequence/__init__.py +++ b/base_partner_sequence/__init__.py @@ -1,7 +1,3 @@ -# Copyright 2004-2009 Tiny SPRL (). -# Copyright 2013 initOS GmbH & Co. KG (). -# Copyright 2016 Tecnativa - Vicent Cubells -# Copyright 2016 Camptocamp - Akim Juillerat (). # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). from . import models diff --git a/base_partner_sequence/__manifest__.py b/base_partner_sequence/__manifest__.py index 867b9b6ed..253116190 100644 --- a/base_partner_sequence/__manifest__.py +++ b/base_partner_sequence/__manifest__.py @@ -4,15 +4,18 @@ # Copyright 2016 Camptocamp - Akim Juillerat (). # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). { - "author": "Tiny/initOS GmbH & Co. KG," - "ACSONE SA/NV," - "Tecnativa, " - "Odoo Community Association (OCA), " - "Camptocamp, ", + "author": ( + "Tiny/initOS GmbH & Co. KG," + "ACSONE SA/NV," + "Tecnativa," + "Camptocamp," + "Odoo Community Association (OCA)" + ), "name": "Add a sequence on customers' code", - "version": "11.0.1.0.0", + "version": "12.0.1.0.0", + "development_status": "Stable", "category": "Generic Modules/Base", - "website": "http://www.initos.com", + "website": "https://github.com/OCA/partner-contact", "depends": [ 'base', ], diff --git a/base_partner_sequence/models/__init__.py b/base_partner_sequence/models/__init__.py index 0ebe9647a..35c698ed9 100644 --- a/base_partner_sequence/models/__init__.py +++ b/base_partner_sequence/models/__init__.py @@ -1,7 +1,3 @@ -# Copyright 2004-2009 Tiny SPRL (). -# Copyright 2013 initOS GmbH & Co. KG (). -# Copyright 2016 Tecnativa - Vicent Cubells -# Copyright 2016 Camptocamp - Akim Juillerat (). # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). from . import partner diff --git a/base_partner_sequence/readme/CONTRIBUTORS.rst b/base_partner_sequence/readme/CONTRIBUTORS.rst new file mode 100644 index 000000000..fa6d2683c --- /dev/null +++ b/base_partner_sequence/readme/CONTRIBUTORS.rst @@ -0,0 +1,11 @@ +* Thomas Rehn +* Stefan Rijnhart +* Yannick Vaucher +* Sandy Carter +* Laurent Mignon (ACSONE) +* Guewen Baconnier +* Alexandre Fayolle +* Vicent Cubells +* Akim Juillerat +* Cas Vissers +* Quentin Groulard \ No newline at end of file diff --git a/base_partner_sequence/readme/DESCRIPTION.rst b/base_partner_sequence/readme/DESCRIPTION.rst new file mode 100644 index 000000000..5f1e0aa00 --- /dev/null +++ b/base_partner_sequence/readme/DESCRIPTION.rst @@ -0,0 +1,11 @@ +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. \ No newline at end of file diff --git a/base_partner_sequence/tests/__init__.py b/base_partner_sequence/tests/__init__.py index 675c51b6e..1e07aa3f4 100644 --- a/base_partner_sequence/tests/__init__.py +++ b/base_partner_sequence/tests/__init__.py @@ -1,7 +1,4 @@ # -*- coding: utf-8 -*- -# Copyright 2004-2009 Tiny SPRL (). -# Copyright 2013 initOS GmbH & Co. KG (). -# Copyright 2016 Tecnativa - Vicent Cubells # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). from . import test_base_partner_sequence diff --git a/base_partner_sequence/tests/test_base_partner_sequence.py b/base_partner_sequence/tests/test_base_partner_sequence.py index 32c68f2b1..b5e479cf3 100644 --- a/base_partner_sequence/tests/test_base_partner_sequence.py +++ b/base_partner_sequence/tests/test_base_partner_sequence.py @@ -3,7 +3,7 @@ # Copyright 2016 Tecnativa - Vicent Cubells # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). -import openerp.tests.common as common +import odoo.tests.common as common class TestBasePartnerSequence(common.TransactionCase):