Skip to content

Commit

Permalink
Merge PR #663 into 17.0
Browse files Browse the repository at this point in the history
Signed-off-by gurneyalex
  • Loading branch information
OCA-git-bot committed Oct 22, 2024
2 parents 81d2c28 + 12fc438 commit cfeb307
Show file tree
Hide file tree
Showing 37 changed files with 1,395 additions and 0 deletions.
87 changes: 87 additions & 0 deletions account_analytic_sequence/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
=========================
Account Analytic Sequence
=========================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:31627e3dbb3166e5f121323f5a938445124b374e03510a7bb9ba7e057879e7ee
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
:target: https://odoo-community.org/page/development-status
:alt: Beta
.. |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%2Faccount--analytic-lightgray.png?logo=github
:target: https://github.com/OCA/account-analytic/tree/17.0/account_analytic_sequence
:alt: OCA/account-analytic
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/account-analytic-17-0/account-analytic-17-0-account_analytic_sequence
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
:target: https://runboat.odoo-community.org/builds?repo=OCA/account-analytic&target_branch=17.0
:alt: Try me on Runboat

|badge1| |badge2| |badge3| |badge4| |badge5|

This module restores the sequence for an analytic account.

**Table of contents**

.. contents::
:local:

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/account-analytic/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us to smash it by providing a detailed and welcomed
`feedback <https://github.com/OCA/account-analytic/issues/new?body=module:%20account_analytic_sequence%0Aversion:%2017.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
-------

* ACSONE SA/NV

Contributors
------------

- Benjamin Willig <benjamin.willig@acsone.eu>
- `CorporateHub <https://corporatehub.eu/>`__

- Alexey Pelykh <alexey.pelykh@corphub.eu>

- Pierre Verkest <pierreverkest84@gmail.com>
- Manuel Regidor <manuel.regidor@sygel.es>
- `Tecnativa <https://www.tecnativa.com>`__:

- Víctor Martínez

- Daniel Herreros <daniel.herreros@braintec.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/account-analytic <https://github.com/OCA/account-analytic/tree/17.0/account_analytic_sequence>`_ project on GitHub.

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

from . import models
from .hooks import post_init_hook
15 changes: 15 additions & 0 deletions account_analytic_sequence/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Copyright 2017 ACSONE SA/NV
# Copyright 2020 Brainbean Apps (https://brainbeanapps.com)
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

{
"name": "Account Analytic Sequence",
"summary": """Restore the analytic account sequence""",
"version": "17.0.1.0.0",
"license": "AGPL-3",
"author": "ACSONE SA/NV,Odoo Community Association (OCA)",
"website": "https://github.com/OCA/account-analytic",
"depends": ["analytic"],
"data": ["data/sequence.xml"],
"post_init_hook": "post_init_hook",
}
12 changes: 12 additions & 0 deletions account_analytic_sequence/data/sequence.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8" ?>
<!-- Copyright 2017 ACSONE SA/NV
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -->
<odoo noupdate="1">
<record id="analytic_account_code_seq" model="ir.sequence">
<field name="name">Analytic account code</field>
<field name="code">account.analytic.account.code</field>
<field name="prefix">AA</field>
<field name="padding">3</field>
<field name="company_id" eval="False" />
</record>
</odoo>
6 changes: 6 additions & 0 deletions account_analytic_sequence/hooks.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Copyright 2020 Brainbean Apps (https://brainbeanapps.com)
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).


def post_init_hook(env):
env["account.analytic.account"]._assign_default_codes()
29 changes: 29 additions & 0 deletions account_analytic_sequence/i18n/account_analytic_sequence.pot
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_analytic_sequence
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.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: account_analytic_sequence
#: model:ir.model,name:account_analytic_sequence.model_account_analytic_account
msgid "Analytic Account"
msgstr ""

#. module: account_analytic_sequence
#: model:ir.model.fields,field_description:account_analytic_sequence.field_account_analytic_account__code
msgid "Reference"
msgstr ""

#. module: account_analytic_sequence
#: model:ir.model.constraint,message:account_analytic_sequence.constraint_account_analytic_account_code_uniq
msgid "Reference must be unique per Company!"
msgstr ""
35 changes: 35 additions & 0 deletions account_analytic_sequence/i18n/ca.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_analytic_sequence
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 2018
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-04-03 13:07+0000\n"
"PO-Revision-Date: 2022-01-12 14:39+0000\n"
"Last-Translator: pere-aquarian <pere@aquarian.tech>\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: account_analytic_sequence
#: model:ir.model,name:account_analytic_sequence.model_account_analytic_account
msgid "Analytic Account"
msgstr "Compte analític"

#. module: account_analytic_sequence
#: model:ir.model.fields,field_description:account_analytic_sequence.field_account_analytic_account__code
msgid "Reference"
msgstr "Referència"

#. module: account_analytic_sequence
#: model:ir.model.constraint,message:account_analytic_sequence.constraint_account_analytic_account_code_uniq
msgid "Reference must be unique per Company!"
msgstr "La referència ha de ser única per companyia!"
35 changes: 35 additions & 0 deletions account_analytic_sequence/i18n/cs_CZ.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_analytic_sequence
#
# Translators:
# Lukáš Spurný <lukasspurny8@gmail.com>, 2018
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-04-03 13:07+0000\n"
"PO-Revision-Date: 2018-04-03 13:07+0000\n"
"Last-Translator: Lukáš Spurný <lukasspurny8@gmail.com>, 2018\n"
"Language-Team: Czech (Czech Republic) (https://www.transifex.com/oca/"
"teams/23907/cs_CZ/)\n"
"Language: cs_CZ\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: account_analytic_sequence
#: model:ir.model,name:account_analytic_sequence.model_account_analytic_account
msgid "Analytic Account"
msgstr "Analytický účet"

#. module: account_analytic_sequence
#: model:ir.model.fields,field_description:account_analytic_sequence.field_account_analytic_account__code
msgid "Reference"
msgstr ""

#. module: account_analytic_sequence
#: model:ir.model.constraint,message:account_analytic_sequence.constraint_account_analytic_account_code_uniq
msgid "Reference must be unique per Company!"
msgstr ""
36 changes: 36 additions & 0 deletions account_analytic_sequence/i18n/de.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_analytic_sequence
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 2018
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-04-03 13:07+0000\n"
"PO-Revision-Date: 2020-05-06 14:19+0000\n"
"Last-Translator: Maria Sparenberg <maria.sparenberg@gmx.net>\n"
"Language-Team: German (https://www.transifex.com/oca/teams/23907/de/)\n"
"Language: de\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 3.10\n"

#. module: account_analytic_sequence
#: model:ir.model,name:account_analytic_sequence.model_account_analytic_account
msgid "Analytic Account"
msgstr "Kostenstelle"

#. module: account_analytic_sequence
#: model:ir.model.fields,field_description:account_analytic_sequence.field_account_analytic_account__code
msgid "Reference"
msgstr "Referenz"

#. module: account_analytic_sequence
#: model:ir.model.constraint,message:account_analytic_sequence.constraint_account_analytic_account_code_uniq
msgid "Reference must be unique per Company!"
msgstr ""
"Die Referenz der Kostenstelle muss innerhalb des Unternehmens eindeutig sein!"
35 changes: 35 additions & 0 deletions account_analytic_sequence/i18n/el_GR.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_analytic_sequence
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 2018
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-04-03 13:07+0000\n"
"PO-Revision-Date: 2018-04-03 13:07+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2018\n"
"Language-Team: Greek (Greece) (https://www.transifex.com/oca/teams/23907/"
"el_GR/)\n"
"Language: el_GR\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: account_analytic_sequence
#: model:ir.model,name:account_analytic_sequence.model_account_analytic_account
msgid "Analytic Account"
msgstr "Αναλυτικός Λογαριασμός"

#. module: account_analytic_sequence
#: model:ir.model.fields,field_description:account_analytic_sequence.field_account_analytic_account__code
msgid "Reference"
msgstr ""

#. module: account_analytic_sequence
#: model:ir.model.constraint,message:account_analytic_sequence.constraint_account_analytic_account_code_uniq
msgid "Reference must be unique per Company!"
msgstr ""
35 changes: 35 additions & 0 deletions account_analytic_sequence/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_analytic_sequence
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 2018
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-04-03 13:07+0000\n"
"PO-Revision-Date: 2022-01-12 14:39+0000\n"
"Last-Translator: pere-aquarian <pere@aquarian.tech>\n"
"Language-Team: Spanish (https://www.transifex.com/oca/teams/23907/es/)\n"
"Language: es\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: account_analytic_sequence
#: model:ir.model,name:account_analytic_sequence.model_account_analytic_account
msgid "Analytic Account"
msgstr "Cuenta analítica"

#. module: account_analytic_sequence
#: model:ir.model.fields,field_description:account_analytic_sequence.field_account_analytic_account__code
msgid "Reference"
msgstr "Referencia"

#. module: account_analytic_sequence
#: model:ir.model.constraint,message:account_analytic_sequence.constraint_account_analytic_account_code_uniq
msgid "Reference must be unique per Company!"
msgstr "La referencia debe ser única por Compañía!"
35 changes: 35 additions & 0 deletions account_analytic_sequence/i18n/es_EC.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_analytic_sequence
#
# Translators:
# Cristian Salamea <ovnicraft@gmail.com>, 2018
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-04-03 13:07+0000\n"
"PO-Revision-Date: 2018-04-03 13:07+0000\n"
"Last-Translator: Cristian Salamea <ovnicraft@gmail.com>, 2018\n"
"Language-Team: Spanish (Ecuador) (https://www.transifex.com/oca/teams/23907/"
"es_EC/)\n"
"Language: es_EC\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: account_analytic_sequence
#: model:ir.model,name:account_analytic_sequence.model_account_analytic_account
msgid "Analytic Account"
msgstr "Cuenta Analítica"

#. module: account_analytic_sequence
#: model:ir.model.fields,field_description:account_analytic_sequence.field_account_analytic_account__code
msgid "Reference"
msgstr ""

#. module: account_analytic_sequence
#: model:ir.model.constraint,message:account_analytic_sequence.constraint_account_analytic_account_code_uniq
msgid "Reference must be unique per Company!"
msgstr ""
Loading

0 comments on commit cfeb307

Please sign in to comment.