-
-
Notifications
You must be signed in to change notification settings - Fork 857
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by HaraldPanten
- Loading branch information
Showing
66 changed files
with
2,495 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/14.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-14-0/partner-contact-14-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/14.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:%2013.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 <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> | ||
* Kevin Khao <kevinkhao@gmail.com> | ||
* Mostafa Alaa <MostafaAlaaEldinMohamed@gmail.com> | ||
|
||
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/14.0/base_partner_sequence>`_ project on GitHub. | ||
|
||
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# 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>). | ||
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). | ||
{ | ||
"author": ( | ||
"Tiny/initOS GmbH & Co. KG," | ||
"ACSONE SA/NV," | ||
"Tecnativa," | ||
"Camptocamp," | ||
"Odoo Community Association (OCA)" | ||
), | ||
"name": "Add a sequence on customers' code", | ||
"version": "14.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", | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 <transbot@odoo-community.org>, 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 <transbot@odoo-community.org>, 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 | ||
#: 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 "ተባባሪ" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 <transbot@odoo-community.org>, 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 <transbot@odoo-community.org>, 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 | ||
#: 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 "الشريك" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 13.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 "" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 <transbot@odoo-community.org>, 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 <transbot@odoo-community.org>, 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 "Партньор" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 <transbot@odoo-community.org>, 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 <transbot@odoo-community.org>, 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" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 <transbot@odoo-community.org>, 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 <transbot@odoo-community.org>, 2017\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" | ||
|
||
#. 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 "Empresa" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 <transbot@odoo-community.org>, 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 <transbot@odoo-community.org>, 2017\n" | ||
"Language-Team: Czech (https://www.transifex.com/oca/teams/23907/cs/)\n" | ||
"Language: cs\n" | ||
"MIME-Version: 1.0\n" | ||
"Content-Type: text/plain; charset=UTF-8\n" | ||
"Content-Transfer-Encoding: \n" | ||
"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 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 "Společník" |
Oops, something went wrong.