Browse Source

[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
pull/668/head
Quentin Groulard 6 years ago
parent
commit
a79de88456
  1. 84
      base_partner_sequence/README.rst
  2. 4
      base_partner_sequence/__init__.py
  3. 17
      base_partner_sequence/__manifest__.py
  4. 4
      base_partner_sequence/models/__init__.py
  5. 11
      base_partner_sequence/readme/CONTRIBUTORS.rst
  6. 11
      base_partner_sequence/readme/DESCRIPTION.rst
  7. 3
      base_partner_sequence/tests/__init__.py
  8. 2
      base_partner_sequence/tests/test_base_partner_sequence.py

84
base_partner_sequence/README.rst

@ -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
<https://github.com/OCA/partner-contact/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 <https://github.com/OCA/maintainer-tools/blob/master/template/module/static/description/icon.svg>`_.
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>
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.

4
base_partner_sequence/__init__.py

@ -1,7 +1,3 @@
# Copyright 2004-2009 Tiny SPRL (<http://tiny.be>).
# Copyright 2013 initOS GmbH & Co. KG (<http://www.initos.com>).
# Copyright 2016 Tecnativa - Vicent Cubells
# Copyright 2016 Camptocamp - Akim Juillerat (<http://www.camptocamp.com>).
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
from . import models from . import models

17
base_partner_sequence/__manifest__.py

@ -4,15 +4,18 @@
# Copyright 2016 Camptocamp - Akim Juillerat (<http://www.camptocamp.com>). # Copyright 2016 Camptocamp - Akim Juillerat (<http://www.camptocamp.com>).
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). # 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", "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", "category": "Generic Modules/Base",
"website": "http://www.initos.com",
"website": "https://github.com/OCA/partner-contact",
"depends": [ "depends": [
'base', 'base',
], ],

4
base_partner_sequence/models/__init__.py

@ -1,7 +1,3 @@
# Copyright 2004-2009 Tiny SPRL (<http://tiny.be>).
# Copyright 2013 initOS GmbH & Co. KG (<http://www.initos.com>).
# Copyright 2016 Tecnativa - Vicent Cubells
# Copyright 2016 Camptocamp - Akim Juillerat (<http://www.camptocamp.com>).
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
from . import partner from . import partner

11
base_partner_sequence/readme/CONTRIBUTORS.rst

@ -0,0 +1,11 @@
* 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>

11
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.

3
base_partner_sequence/tests/__init__.py

@ -1,7 +1,4 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
# Copyright 2004-2009 Tiny SPRL (<http://tiny.be>).
# Copyright 2013 initOS GmbH & Co. KG (<http://www.initos.com>).
# Copyright 2016 Tecnativa - Vicent Cubells
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
from . import test_base_partner_sequence from . import test_base_partner_sequence

2
base_partner_sequence/tests/test_base_partner_sequence.py

@ -3,7 +3,7 @@
# Copyright 2016 Tecnativa - Vicent Cubells # Copyright 2016 Tecnativa - Vicent Cubells
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). # 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): class TestBasePartnerSequence(common.TransactionCase):

Loading…
Cancel
Save