Skip to content

Commit

Permalink
Merge PR #614 into 17.0
Browse files Browse the repository at this point in the history
Signed-off-by StefanRijnhart
  • Loading branch information
OCA-git-bot committed Aug 7, 2024
2 parents 8a13403 + fa50c40 commit e930e8d
Show file tree
Hide file tree
Showing 51 changed files with 3,440 additions and 0 deletions.
124 changes: 124 additions & 0 deletions stock_analytic/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,124 @@
==============
Stock Analytic
==============

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:a86e6eadbda1a82f8959ab9abed984ad2f25b1a351ad6563deafb50ef3f6183f
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |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/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-17-0/account-analytic-17-0-stock_analytic
: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|

Adds Analytic Distribution field in stock move to be able to get
analytic information when generating the journal items.

**Table of contents**

.. contents::
:local:

Configuration
=============

As necessary, go to *Invoicing > Configuration > Analytic Plans*, open
the relevant record and update the applicability for 'Stock Move'.

Usage
=====

To Assign an Analytic Account to a Stock Move
---------------------------------------------

You need to:

1. Create manually or open draft picking
2. Add move lines and assign an **analytic account** in Analytic
Distribution field

Assigned Journal Items created from Stock Move with Analytic Account
--------------------------------------------------------------------

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

1. Journal item with account equal to product's valuation account will
not be assigned to any analytic account.
2. 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.

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:%20stock_analytic%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
-------

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

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

- Hanane ELKHAL <[email protected]>
- Yvan Patry <[email protected]>
- Pierre <[email protected]>
- Mathieu VATEL <[email protected]>
- Fabio Vílchez <[email protected]>
- Andhitia Rama <[email protected]>
- Michael Viriyananda <[email protected]>
- Aaron Henriquez <[email protected]>
- Jared Kipe <[email protected]>
- Alan Ramos <[email protected]>
- Mantas Šniukas <[email protected]>
- Marcos Oitabén <[email protected]>
- `Quartile <https://www.quartile.co>`__:

- Yoshi Tashiro

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/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
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).

from . import models
27 changes: 27 additions & 0 deletions stock_analytic/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Copyright 2013 Julius Network Solutions
# Copyright 2015 Clear Corp
# Copyright 2016 OpenSynergy Indonesia
# Copyright 2017 ForgeFlow S.L.
# Copyright 2018 Hibou Corp.
# Copyright 2023 Quartile Limited
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
{
"name": "Stock Analytic",
"summary": "Adds analytic distribution in stock move",
"version": "17.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,
}
81 changes: 81 additions & 0 deletions stock_analytic/i18n/ca.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * stock_analytic
#
# 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-11-19 22:13+0000\n"
"PO-Revision-Date: 2022-03-21 13:17+0000\n"
"Last-Translator: Noel estudillo <[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: stock_analytic
#: model:ir.model.fields,field_description:stock_analytic.field_stock_move__analytic_distribution
#: model:ir.model.fields,field_description:stock_analytic.field_stock_move_line__analytic_distribution
#: model:ir.model.fields,field_description:stock_analytic.field_stock_scrap__analytic_distribution
msgid "Analytic"
msgstr ""

#. module: stock_analytic
#: model:ir.model.fields,field_description:stock_analytic.field_stock_move__analytic_distribution_search
#: model:ir.model.fields,field_description:stock_analytic.field_stock_move_line__analytic_distribution_search
#: model:ir.model.fields,field_description:stock_analytic.field_stock_scrap__analytic_distribution_search
msgid "Analytic Distribution Search"
msgstr ""

#. module: stock_analytic
#: model:ir.model,name:stock_analytic.model_account_analytic_applicability
msgid "Analytic Plan's Applicabilities"
msgstr ""

#. module: stock_analytic
#: model:ir.model.fields,field_description:stock_analytic.field_stock_move__analytic_precision
#: model:ir.model.fields,field_description:stock_analytic.field_stock_move_line__analytic_precision
#: model:ir.model.fields,field_description:stock_analytic.field_stock_scrap__analytic_precision
msgid "Analytic Precision"
msgstr ""

#. module: stock_analytic
#: model:ir.model.fields,field_description:stock_analytic.field_account_analytic_applicability__business_domain
msgid "Domain"
msgstr ""

#. 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
#: model:ir.model.fields.selection,name:stock_analytic.selection__account_analytic_applicability__business_domain__stock_move
msgid "Stock Move"
msgstr "Moviment d'estoc"

#. module: stock_analytic
#: model:ir.model,name:stock_analytic.model_stock_picking
msgid "Transfer"
msgstr ""

#~ msgid "Analytic Account"
#~ msgstr "Compte analític"

#~ msgid "Analytic Tags"
#~ msgstr "Etiquetes analítiques"

#~ msgid "Product"
#~ msgstr "Producte"
75 changes: 75 additions & 0 deletions stock_analytic/i18n/cs_CZ.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * stock_analytic
#
# Translators:
# Lukáš Spurný <[email protected]>, 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ý <[email protected]>, 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_distribution
#: model:ir.model.fields,field_description:stock_analytic.field_stock_move_line__analytic_distribution
#: model:ir.model.fields,field_description:stock_analytic.field_stock_scrap__analytic_distribution
msgid "Analytic"
msgstr ""

#. module: stock_analytic
#: model:ir.model.fields,field_description:stock_analytic.field_stock_move__analytic_distribution_search
#: model:ir.model.fields,field_description:stock_analytic.field_stock_move_line__analytic_distribution_search
#: model:ir.model.fields,field_description:stock_analytic.field_stock_scrap__analytic_distribution_search
msgid "Analytic Distribution Search"
msgstr ""

#. module: stock_analytic
#: model:ir.model,name:stock_analytic.model_account_analytic_applicability
msgid "Analytic Plan's Applicabilities"
msgstr ""

#. module: stock_analytic
#: model:ir.model.fields,field_description:stock_analytic.field_stock_move__analytic_precision
#: model:ir.model.fields,field_description:stock_analytic.field_stock_move_line__analytic_precision
#: model:ir.model.fields,field_description:stock_analytic.field_stock_scrap__analytic_precision
msgid "Analytic Precision"
msgstr ""

#. module: stock_analytic
#: model:ir.model.fields,field_description:stock_analytic.field_account_analytic_applicability__business_domain
msgid "Domain"
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
#: model:ir.model.fields.selection,name:stock_analytic.selection__account_analytic_applicability__business_domain__stock_move
msgid "Stock Move"
msgstr "Posunout sklad"

#. module: stock_analytic
#: model:ir.model,name:stock_analytic.model_stock_picking
msgid "Transfer"
msgstr ""

#~ msgid "Analytic Account"
#~ msgstr "Analytický účet"
75 changes: 75 additions & 0 deletions stock_analytic/i18n/de.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * stock_analytic
#
# 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-11-19 22:13+0000\n"
"PO-Revision-Date: 2020-01-29 11:13+0000\n"
"Last-Translator: Maria Sparenberg <[email protected]>\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_distribution
#: model:ir.model.fields,field_description:stock_analytic.field_stock_move_line__analytic_distribution
#: model:ir.model.fields,field_description:stock_analytic.field_stock_scrap__analytic_distribution
msgid "Analytic"
msgstr ""

#. module: stock_analytic
#: model:ir.model.fields,field_description:stock_analytic.field_stock_move__analytic_distribution_search
#: model:ir.model.fields,field_description:stock_analytic.field_stock_move_line__analytic_distribution_search
#: model:ir.model.fields,field_description:stock_analytic.field_stock_scrap__analytic_distribution_search
msgid "Analytic Distribution Search"
msgstr ""

#. module: stock_analytic
#: model:ir.model,name:stock_analytic.model_account_analytic_applicability
msgid "Analytic Plan's Applicabilities"
msgstr ""

#. module: stock_analytic
#: model:ir.model.fields,field_description:stock_analytic.field_stock_move__analytic_precision
#: model:ir.model.fields,field_description:stock_analytic.field_stock_move_line__analytic_precision
#: model:ir.model.fields,field_description:stock_analytic.field_stock_scrap__analytic_precision
msgid "Analytic Precision"
msgstr ""

#. module: stock_analytic
#: model:ir.model.fields,field_description:stock_analytic.field_account_analytic_applicability__business_domain
msgid "Domain"
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
#: model:ir.model.fields.selection,name:stock_analytic.selection__account_analytic_applicability__business_domain__stock_move
msgid "Stock Move"
msgstr "Lagerbewegung"

#. module: stock_analytic
#: model:ir.model,name:stock_analytic.model_stock_picking
msgid "Transfer"
msgstr ""

#~ msgid "Analytic Account"
#~ msgstr "Kostenstelle"
Loading

0 comments on commit e930e8d

Please sign in to comment.