Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MIG] base_partner_sequence: Migration to 16.0 #1371

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
98 changes: 98 additions & 0 deletions base_partner_sequence/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,98 @@
=================================
Add a sequence on customers' code
=================================

.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |badge1| image:: https://img.shields.io/badge/maturity-Production%2FStable-green.png
:target: https://odoo-community.org/page/development-status
:alt: Production/Stable
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fpartner--contact-lightgray.png?logo=github
:target: https://github.com/OCA/partner-contact/tree/15.0/base_partner_sequence
:alt: OCA/partner-contact
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/partner-contact-15-0/partner-contact-15-0-base_partner_sequence
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png
:target: https://runbot.odoo-community.org/runbot/134/15.0
:alt: Try me on Runbot

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

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.

**Table of contents**

.. contents::
:local:

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 <https://github.com/OCA/partner-contact/issues/new?body=module:%20base_partner_sequence%0Aversion:%2015.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

Do not contact contributors directly about support or help with technical issues.

Credits
=======

Authors
~~~~~~~

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

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

* Thomas Rehn <[email protected]>
* Stefan Rijnhart <[email protected]>
* Yannick Vaucher <[email protected]>
* Sandy Carter <[email protected]>
* Laurent Mignon (ACSONE) <[email protected]>
* Guewen Baconnier <[email protected]>
* Alexandre Fayolle <[email protected]>
* Vicent Cubells <[email protected]>
* Akim Juillerat <[email protected]>
* Cas Vissers <[email protected]>
* Quentin Groulard <[email protected]>
* Kevin Khao <[email protected]>
* Francesco Apruzzese <[email protected]>

Maintainers
~~~~~~~~~~~

This module is maintained by the OCA.

.. image:: https://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: https://odoo-community.org

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.

This module is part of the `OCA/partner-contact <https://github.com/OCA/partner-contact/tree/15.0/base_partner_sequence>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
3 changes: 3 additions & 0 deletions base_partner_sequence/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).

from . import models
26 changes: 26 additions & 0 deletions base_partner_sequence/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Copyright 2004-2009 Tiny SPRL (<https://tiny.be>).
# Copyright 2013 initOS GmbH & Co. KG (<https://www.initos.com>).
# Copyright 2016 Tecnativa - Vicent Cubells
# Copyright 2016 Camptocamp - Akim Juillerat (<https://www.camptocamp.com>).
# Copyright 2022 Sirum GmbH (<https://www.sirum.de>).
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).
{
"author": (
"Tiny/initOS GmbH & Co. KG,"
"ACSONE SA/NV,"
"Tecnativa,"
"Camptocamp,"
"Sirum GmbH,"
"Odoo Community Association (OCA)"
),
"name": "Add a sequence on customers' code",
"version": "16.0.1.0.0",
"development_status": "Production/Stable",
"category": "Generic Modules/Base",
"website": "https://github.com/OCA/partner-contact",
"depends": ["base"],
"summary": "Sets customer's code from a sequence",
"data": ["data/partner_sequence.xml", "views/partner_view.xml"],
"installable": True,
"license": "AGPL-3",
}
9 changes: 9 additions & 0 deletions base_partner_sequence/data/partner_sequence.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?xml version="1.0" ?>
<odoo noupdate="1">
<record id="seq_res_partner" model="ir.sequence">
<field name="name">Partner code</field>
<field name="code">res.partner</field>
<field name="prefix">P/</field>
<field name="padding">5</field>
</record>
</odoo>
48 changes: 48 additions & 0 deletions base_partner_sequence/i18n/am.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * base_partner_sequence
#
# Translators:
# OCA Transbot <[email protected]>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-03-10 03:39+0000\n"
"PO-Revision-Date: 2017-03-10 03:39+0000\n"
"Last-Translator: OCA Transbot <[email protected]>, 2017\n"
"Language-Team: Amharic (https://www.transifex.com/oca/teams/23907/am/)\n"
"Language: am\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"

#. module: base_partner_sequence
#: model:ir.model,name:base_partner_sequence.model_res_partner
msgid "Contact"
msgstr ""

#. module: base_partner_sequence
#: model:ir.model.fields,field_description:base_partner_sequence.field_res_partner__display_name
msgid "Display Name"
msgstr ""

#. module: base_partner_sequence
#: code:addons/base_partner_sequence/models/partner.py:0
#, python-format
msgid "Either field values or an id must be provided."
msgstr ""

#. module: base_partner_sequence
#: model:ir.model.fields,field_description:base_partner_sequence.field_res_partner__id
msgid "ID"
msgstr ""

#. module: base_partner_sequence
#: model:ir.model.fields,field_description:base_partner_sequence.field_res_partner____last_update
msgid "Last Modified on"
msgstr ""

#~ msgid "Partner"
#~ msgstr "ተባባሪ"
49 changes: 49 additions & 0 deletions base_partner_sequence/i18n/ar.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * base_partner_sequence
#
# Translators:
# OCA Transbot <[email protected]>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-03-10 03:39+0000\n"
"PO-Revision-Date: 2017-03-10 03:39+0000\n"
"Last-Translator: OCA Transbot <[email protected]>, 2017\n"
"Language-Team: Arabic (https://www.transifex.com/oca/teams/23907/ar/)\n"
"Language: ar\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 "
"&& n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n"

#. module: base_partner_sequence
#: model:ir.model,name:base_partner_sequence.model_res_partner
msgid "Contact"
msgstr ""

#. module: base_partner_sequence
#: model:ir.model.fields,field_description:base_partner_sequence.field_res_partner__display_name
msgid "Display Name"
msgstr ""

#. module: base_partner_sequence
#: code:addons/base_partner_sequence/models/partner.py:0
#, python-format
msgid "Either field values or an id must be provided."
msgstr ""

#. module: base_partner_sequence
#: model:ir.model.fields,field_description:base_partner_sequence.field_res_partner__id
msgid "ID"
msgstr ""

#. module: base_partner_sequence
#: model:ir.model.fields,field_description:base_partner_sequence.field_res_partner____last_update
msgid "Last Modified on"
msgstr ""

#~ msgid "Partner"
#~ msgstr "الشريك"
25 changes: 25 additions & 0 deletions base_partner_sequence/i18n/base_partner_sequence.pot
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * base_partner_sequence
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 15.0\n"
"Report-Msgid-Bugs-To: \n"
"Last-Translator: \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"

#. module: base_partner_sequence
#: model:ir.model,name:base_partner_sequence.model_res_partner
msgid "Contact"
msgstr ""

#. module: base_partner_sequence
#: code:addons/base_partner_sequence/models/partner.py:0
#, python-format
msgid "Either field values or an id must be provided."
msgstr ""
33 changes: 33 additions & 0 deletions base_partner_sequence/i18n/bg.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * base_partner_sequence
#
# Translators:
# OCA Transbot <[email protected]>, 2016
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-12-31 01:39+0000\n"
"PO-Revision-Date: 2016-12-31 01:39+0000\n"
"Last-Translator: OCA Transbot <[email protected]>, 2016\n"
"Language-Team: Bulgarian (https://www.transifex.com/oca/teams/23907/bg/)\n"
"Language: bg\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

#. module: base_partner_sequence
#: model:ir.model,name:base_partner_sequence.model_res_partner
msgid "Contact"
msgstr ""

#. module: base_partner_sequence
#: code:addons/base_partner_sequence/models/partner.py:0
#, python-format
msgid "Either field values or an id must be provided."
msgstr ""

#~ msgid "Partner"
#~ msgstr "Партньор"
34 changes: 34 additions & 0 deletions base_partner_sequence/i18n/bs.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * base_partner_sequence
#
# Translators:
# OCA Transbot <[email protected]>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-03-10 03:39+0000\n"
"PO-Revision-Date: 2017-03-10 03:39+0000\n"
"Last-Translator: OCA Transbot <[email protected]>, 2017\n"
"Language-Team: Bosnian (https://www.transifex.com/oca/teams/23907/bs/)\n"
"Language: bs\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"

#. module: base_partner_sequence
#: model:ir.model,name:base_partner_sequence.model_res_partner
msgid "Contact"
msgstr ""

#. module: base_partner_sequence
#: code:addons/base_partner_sequence/models/partner.py:0
#, python-format
msgid "Either field values or an id must be provided."
msgstr ""

#~ msgid "Partner"
#~ msgstr "Partner"
34 changes: 34 additions & 0 deletions base_partner_sequence/i18n/ca.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * base_partner_sequence
#
# Translators:
# OCA Transbot <[email protected]>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-03-10 03:39+0000\n"
"PO-Revision-Date: 2022-04-22 12:05+0000\n"
"Last-Translator: pablontura <[email protected]>\n"
"Language-Team: Catalan (https://www.transifex.com/oca/teams/23907/ca/)\n"
"Language: ca\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 4.3.2\n"

#. module: base_partner_sequence
#: model:ir.model,name:base_partner_sequence.model_res_partner
msgid "Contact"
msgstr "Contacte"

#. module: base_partner_sequence
#: code:addons/base_partner_sequence/models/partner.py:0
#, python-format
msgid "Either field values or an id must be provided."
msgstr "S'han de proporcionar els valors del camp o un identificador."

#~ msgid "Partner"
#~ msgstr "Empresa"
Loading