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

[18.0][MIG] stock_analytic: Migration to 18.0 #710

Open
wants to merge 61 commits into
base: 18.0
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
61 commits
Select commit Hold shift + click to select a range
7096589
migration to v7
Jun 7, 2013
60b7aec
merge with mathieu
yvanpatry Jun 13, 2013
734edb4
update for migration V7
Pierre-Monod Jun 13, 2013
7fadecb
add images
Aug 14, 2013
0339c91
update for wilog v7.0
Pierre-Monod Sep 3, 2013
ede9786
Add contract customer invoice and migrate [IMP] SMS erase print [IMP]…
yvanpatry Sep 3, 2013
a86897f
 - change the logo of all modules
mathieuvatel Mar 18, 2014
9190fd9
- Added new module stock_analytic
fv-clearcorp Nov 19, 2015
50e40cf
Adapt original module according OCA Standard
andhit-r Feb 5, 2016
3d51c26
[MIG]stock_analytic to v9
AaronHForgeFlow Apr 3, 2017
d1b3ce1
[MIG]stock_analytic to v10
AaronHForgeFlow Jun 28, 2017
0eb964f
11.0 MIG stock_analytic
jaredkipe Mar 19, 2018
8d07b0b
Add the ability to pick Analytic account on picking form.
jaredkipe Oct 30, 2018
be6f5e4
Translated using Weblate (German)
rschnapka Jan 21, 2019
071d09d
[MIG]stock_analytic to v12
AaronHForgeFlow Jan 30, 2019
940e081
[MIG] Updated the tests of the module stock_analytic.
Jun 13, 2019
65aab23
Translated using Weblate (Portuguese (Brazil))
marcelsavegnago Aug 2, 2019
a8072d0
Translated using Weblate (Catalan)
Oct 7, 2019
630ced0
[12.0] [FIX] Wrong runbot link in readme
Jerther Oct 15, 2019
07497f4
[12.0] [FIX] stock_analytic: Analytic account field is in wrong page
Jerther Oct 16, 2019
06d4c4a
Translated using Weblate (Croatian)
badbole Nov 13, 2019
37d1d0a
[IMP] stock_analytic: Add analytic account to scrap
max3903 Nov 20, 2019
7330780
Translated using Weblate (German)
marylla Jan 29, 2020
e877e12
Translated using Weblate (Portuguese)
alvarorib Feb 18, 2020
e7cc6ac
Translated using Weblate (Spanish)
ruthbeat Mar 2, 2020
5f24b9f
[FIX] Apply analytic account on COGS account when booking customer in…
Feb 4, 2020
c3a081c
[IMP] stock_analytic: black, isort
jimhoefnagels Mar 24, 2020
5bfd1b9
[MIG] stock_analytic: Migration to 13.0
jimhoefnagels Mar 24, 2020
7ec13ed
stock_analytic 12.0.1.1.2
jimhoefnagels May 11, 2020
5c78b12
[IMP] stock_analytic: black, isort
jimhoefnagels May 11, 2020
fe28328
[MIG] stock_analytic: Migration to 13.0
jimhoefnagels May 11, 2020
0b47345
Translated using Weblate (Portuguese (Brazil))
Aug 12, 2020
afa4aff
[UPD] Eficent -> ForgeFlow
MiquelRForgeFlow Sep 30, 2020
c0e007d
[13.0][IMP] stock_analytic - add analytic tags on stock move
baimont Nov 9, 2020
adff189
[IMP] stock_analytic: black, isort, prettier
alan196 Jan 28, 2021
f83797f
[MIG] stock_analytic: Migration to 14.0
alan196 Jan 28, 2021
52fdb14
[14.0][IMP] stock_analytic: Transmit analytic account to new moves
rousseldenis Nov 26, 2021
32af690
Translated using Weblate (Portuguese (Brazil))
Feb 1, 2022
8ca0569
Translated using Weblate (Catalan)
Noel000 Mar 21, 2022
5466b2b
[14.0][IMP] stock_analytic: Add analytic on move lines tree view
rousseldenis Dec 28, 2021
e6485c2
[IMP] stock_analytic: Take into account extra move lines flow
rousseldenis May 17, 2022
fd6bb56
[MIG] stock_analytic: Migration to 16.0
nicomacr Dec 6, 2022
657ddc3
[IMP] stock_analytic: add validation on analytic distribution
yostashiro Jan 23, 2023
2ad2f25
[16.0][IMP] stock_analytic: add analytic distribution to move tree re…
ThiagoMForgeFlow Jun 15, 2023
2f100d1
Translated using Weblate (Dutch)
Jan-Onestein Oct 17, 2023
43a2e14
Translated using Weblate (Spanish)
Ivorra78 Oct 19, 2023
741d629
Translated using Weblate (Portuguese (Brazil))
adrianojprado Oct 28, 2023
0037f6c
[IMP] stock_analytic: pre-commit stuff
moitabenfdz Dec 21, 2023
004a737
[MIG] stock_analytic: Migration to 17.0
moitabenfdz Dec 21, 2023
05579a0
[FIX] stock_analytic: actually propagate distribution
aisopuro Apr 16, 2024
b25dd9c
[UPD] Update stock_analytic.pot
Aug 7, 2024
0e4daf7
[BOT] post-merge updates
OCA-git-bot Aug 7, 2024
eb924d4
Update translation files
weblate Aug 7, 2024
eff88da
Translated using Weblate (Italian)
mymage Aug 7, 2024
2afda16
[REF] stock_analytic: split test utilities into shareable base class
aisopuro Aug 19, 2024
accb5eb
[BOT] post-merge updates
OCA-git-bot Sep 5, 2024
decb874
Translated using Weblate (Catalan)
jaumeplanas Sep 11, 2024
5616d6b
[FIX] stock_analytic: tests fail if mrp also loads
aisopuro Sep 5, 2024
f5185fe
[FIX] stock_analytic
AungKoKoLin1997 Oct 15, 2024
fce983d
[BOT] post-merge updates
OCA-git-bot Oct 23, 2024
fff262e
[MIG] stock_analytic: Migration to 18.0
peluko00 Nov 20, 2024
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
128 changes: 128 additions & 0 deletions stock_analytic/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,128 @@
==============
Stock Analytic
==============

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:eb3471da266621f56573bb0cea1f8f0f10a3022435e96cd21c5bb4b6772f3f7e
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |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/18.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-18-0/account-analytic-18-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=18.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:%2018.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

- `APSL-Nagarro <https://www.apsl.tech>`__

- Antoni Marroig <[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/account-analytic <https://github.com/OCA/account-analytic/tree/18.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": "18.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,
}
86 changes: 86 additions & 0 deletions stock_analytic/i18n/ca.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
# 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: 2024-09-11 16:15+0000\n"
"Last-Translator: Jaume Planas <[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 5.6.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 Distribution"
msgstr "Distribució analítica"

#. 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 "Cerca de distribució analítica"

#. module: stock_analytic
#: model:ir.model,name:stock_analytic.model_account_analytic_applicability
msgid "Analytic Plan's Applicabilities"
msgstr "Aplicabilitats del pla analític"

#. 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 "Precisió Analítica"

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

#. 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_rule
msgid "Stock Rule"
msgstr "Regla d’estoc"

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

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

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

#~ msgid "Product"
#~ msgstr "Producte"
80 changes: 80 additions & 0 deletions stock_analytic/i18n/cs_CZ.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
# 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 Distribution"
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_rule
msgid "Stock Rule"
msgstr ""

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

#~ msgid "Analytic Account"
#~ msgstr "Analytický účet"
Loading
Loading