Skip to content

Commit

Permalink
Merge commit 'refs/pull/506/head' of https://github.com/oca/account-a…
Browse files Browse the repository at this point in the history
…nalytic into 16.0-1057
  • Loading branch information
docker-odoo committed Jan 10, 2023
2 parents 150d446 + f44fe3a commit 90535f4
Show file tree
Hide file tree
Showing 48 changed files with 2,715 additions and 0 deletions.
1 change: 1 addition & 0 deletions setup/stock_analytic/odoo/addons/stock_analytic
6 changes: 6 additions & 0 deletions setup/stock_analytic/setup.py
@@ -0,0 +1,6 @@
import setuptools

setuptools.setup(
setup_requires=['setuptools-odoo'],
odoo_addon=True,
)
109 changes: 109 additions & 0 deletions stock_analytic/README.rst
@@ -0,0 +1,109 @@
==============
Stock Analytic
==============

.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |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/14.0/stock_analytic
: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-14-0/account-analytic-14-0-stock_analytic
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png
:target: https://runbot.odoo-community.org/runbot/87/14.0
:alt: Try me on Runbot

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

Adds an analytic account and analytic tags in stock move to be able to get
analytic information when generating the journal items.

**Table of contents**

.. contents::
:local:

Usage
=====

To Assign an Analytic Account and Analytic Tags to a Stock Move
===============================================================

You need to:

#. Create manually or open draft picking
#. Add move lines and fill **analytic account** and **analytic tags** fields

Assigned Journal Items created from Stock Move with Analytic Account and Analytic Tags
======================================================================================

If stock move automatically create journal entry, the journal entry will
contain journal items with following rule:

#. Journal item with account equal to product's valuation account will not be
assigned to any analytic account, neither analytic tags
#. Journal item with account different to product's valuation account will be
assigned to an analytic account according to the stock move's analytic
account. The same logic applies to analytic tags.

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 smashing it by providing a detailed and welcomed
`feedback <https://github.com/OCA/account-analytic/issues/new?body=module:%20stock_analytic%0Aversion:%2014.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
~~~~~~~

* Julius Network Solutions
* ClearCorp
* OpenSynergy Indonesia
* Hibou Corp.

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

* Hanane ELKHAL <hanane@julius.fr>
* Yvan Patry <yvan@julius.fr>
* Pierre <pierre@julius.fr>
* Mathieu VATEL <mathieu@julius.fr>
* Fabio Vílchez <fabio.vilchez@clearcorp.co.cr>
* Andhitia Rama <andhitia.r@gmail.com>
* Michael Viriyananda <viriyananda.michael@gmail.com>
* Aaron Henriquez <ahenriquez@forgeflow.com>
* Jared Kipe <jared@hibou.io>
* Alan Ramos <alan.ramos@jarsa.com.mx>

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/14.0/stock_analytic>`_ 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 stock_analytic/__init__.py
@@ -0,0 +1,3 @@
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).

from . import models
26 changes: 26 additions & 0 deletions stock_analytic/__manifest__.py
@@ -0,0 +1,26 @@
# Copyright 2013 Julius Network Solutions
# Copyright 2015 Clear Corp
# Copyright 2016 OpenSynergy Indonesia
# Copyright 2017 ForgeFlow S.L.
# Copyright 2018 Hibou Corp.
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
{
"name": "Stock Analytic",
"summary": "Adds an analytic account and analytic tags in stock move",
"version": "16.0.1.0.0",
"author": "Julius Network Solutions, "
"ClearCorp, OpenSynergy Indonesia, "
"Hibou Corp., "
"Odoo Community Association (OCA)",
"website": "https://github.com/OCA/account-analytic",
"category": "Warehouse Management",
"license": "AGPL-3",
"depends": ["stock_account", "analytic"],
"data": [
"views/stock_move_views.xml",
"views/stock_scrap_views.xml",
"views/stock_move_line_views.xml",
"views/stock_picking_views.xml",
],
"installable": True,
}
54 changes: 54 additions & 0 deletions stock_analytic/i18n/ca.po
@@ -0,0 +1,54 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * stock_analytic
#
# 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-11-19 22:13+0000\n"
"PO-Revision-Date: 2022-03-21 13:17+0000\n"
"Last-Translator: Noel estudillo <noelestudilloviera@gmail.com>\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: stock_analytic
#: model:ir.model.fields,field_description:stock_analytic.field_stock_move__analytic_account_id
#: model:ir.model.fields,field_description:stock_analytic.field_stock_move_line__analytic_account_id
#: model:ir.model.fields,field_description:stock_analytic.field_stock_scrap__analytic_account_id
#: model_terms:ir.ui.view,arch_db:stock_analytic.view_move_search_analytic
msgid "Analytic Account"
msgstr "Compte analític"

#. module: stock_analytic
#: model:ir.model.fields,field_description:stock_analytic.field_stock_move__analytic_tag_ids
#: model:ir.model.fields,field_description:stock_analytic.field_stock_scrap__analytic_tag_ids
msgid "Analytic Tags"
msgstr "Etiquetes analítiques"

#. module: stock_analytic
#: model:ir.model,name:stock_analytic.model_product_product
msgid "Product"
msgstr "Producte"

#. module: stock_analytic
#: model:ir.model,name:stock_analytic.model_stock_move_line
msgid "Product Moves (Stock Move Line)"
msgstr "Moviments de producte (línia de moviment d'existències)"

#. module: stock_analytic
#: model:ir.model,name:stock_analytic.model_stock_scrap
msgid "Scrap"
msgstr "Ferralla"

#. module: stock_analytic
#: model:ir.model,name:stock_analytic.model_stock_move
msgid "Stock Move"
msgstr "Moviment d'estoc"
54 changes: 54 additions & 0 deletions stock_analytic/i18n/cs_CZ.po
@@ -0,0 +1,54 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * stock_analytic
#
# 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-02-21 03:54+0000\n"
"PO-Revision-Date: 2018-02-21 03:54+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: stock_analytic
#: model:ir.model.fields,field_description:stock_analytic.field_stock_move__analytic_account_id
#: model:ir.model.fields,field_description:stock_analytic.field_stock_move_line__analytic_account_id
#: model:ir.model.fields,field_description:stock_analytic.field_stock_scrap__analytic_account_id
#: model_terms:ir.ui.view,arch_db:stock_analytic.view_move_search_analytic
msgid "Analytic Account"
msgstr "Analytický účet"

#. module: stock_analytic
#: model:ir.model.fields,field_description:stock_analytic.field_stock_move__analytic_tag_ids
#: model:ir.model.fields,field_description:stock_analytic.field_stock_scrap__analytic_tag_ids
msgid "Analytic Tags"
msgstr ""

#. module: stock_analytic
#: model:ir.model,name:stock_analytic.model_product_product
msgid "Product"
msgstr ""

#. module: stock_analytic
#: model:ir.model,name:stock_analytic.model_stock_move_line
msgid "Product Moves (Stock Move Line)"
msgstr ""

#. module: stock_analytic
#: model:ir.model,name:stock_analytic.model_stock_scrap
msgid "Scrap"
msgstr ""

#. module: stock_analytic
#: model:ir.model,name:stock_analytic.model_stock_move
msgid "Stock Move"
msgstr "Posunout sklad"
54 changes: 54 additions & 0 deletions stock_analytic/i18n/de.po
@@ -0,0 +1,54 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * stock_analytic
#
# 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-11-19 22:13+0000\n"
"PO-Revision-Date: 2020-01-29 11:13+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: stock_analytic
#: model:ir.model.fields,field_description:stock_analytic.field_stock_move__analytic_account_id
#: model:ir.model.fields,field_description:stock_analytic.field_stock_move_line__analytic_account_id
#: model:ir.model.fields,field_description:stock_analytic.field_stock_scrap__analytic_account_id
#: model_terms:ir.ui.view,arch_db:stock_analytic.view_move_search_analytic
msgid "Analytic Account"
msgstr "Kostenstelle"

#. module: stock_analytic
#: model:ir.model.fields,field_description:stock_analytic.field_stock_move__analytic_tag_ids
#: model:ir.model.fields,field_description:stock_analytic.field_stock_scrap__analytic_tag_ids
msgid "Analytic Tags"
msgstr ""

#. module: stock_analytic
#: model:ir.model,name:stock_analytic.model_product_product
msgid "Product"
msgstr ""

#. module: stock_analytic
#: model:ir.model,name:stock_analytic.model_stock_move_line
msgid "Product Moves (Stock Move Line)"
msgstr "Produkt-Lagerbewegungen"

#. module: stock_analytic
#: model:ir.model,name:stock_analytic.model_stock_scrap
msgid "Scrap"
msgstr "Ausschuss"

#. module: stock_analytic
#: model:ir.model,name:stock_analytic.model_stock_move
msgid "Stock Move"
msgstr "Lagerbewegung"
54 changes: 54 additions & 0 deletions stock_analytic/i18n/el_GR.po
@@ -0,0 +1,54 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * stock_analytic
#
# 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-11-19 22:13+0000\n"
"PO-Revision-Date: 2017-11-19 22:13+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2017\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: stock_analytic
#: model:ir.model.fields,field_description:stock_analytic.field_stock_move__analytic_account_id
#: model:ir.model.fields,field_description:stock_analytic.field_stock_move_line__analytic_account_id
#: model:ir.model.fields,field_description:stock_analytic.field_stock_scrap__analytic_account_id
#: model_terms:ir.ui.view,arch_db:stock_analytic.view_move_search_analytic
msgid "Analytic Account"
msgstr "Αναλυτικός Λογαριασμός"

#. module: stock_analytic
#: model:ir.model.fields,field_description:stock_analytic.field_stock_move__analytic_tag_ids
#: model:ir.model.fields,field_description:stock_analytic.field_stock_scrap__analytic_tag_ids
msgid "Analytic Tags"
msgstr ""

#. module: stock_analytic
#: model:ir.model,name:stock_analytic.model_product_product
msgid "Product"
msgstr ""

#. module: stock_analytic
#: model:ir.model,name:stock_analytic.model_stock_move_line
msgid "Product Moves (Stock Move Line)"
msgstr ""

#. module: stock_analytic
#: model:ir.model,name:stock_analytic.model_stock_scrap
msgid "Scrap"
msgstr ""

#. module: stock_analytic
#: model:ir.model,name:stock_analytic.model_stock_move
msgid "Stock Move"
msgstr ""

0 comments on commit 90535f4

Please sign in to comment.