Metadata-Version: 2.1
Name: odoo-addon-stock_analytic
Version: 18.0.1.2.0.1
Requires-Python: >=3.10
Requires-Dist: odoo==18.0.*
Summary: Adds analytic distribution in stock move
Home-page: https://github.com/OCA/account-analytic
License: AGPL-3
Author: Julius Network Solutions, ClearCorp, OpenSynergy Indonesia, Hibou Corp., Odoo Community Association (OCA)
Author-email: support@odoo-community.org
Classifier: Programming Language :: Python
Classifier: Framework :: Odoo
Classifier: Framework :: Odoo :: 18.0
Classifier: License :: OSI Approved :: GNU Affero General Public License v3
Description-Content-Type: text/x-rst

.. image:: https://odoo-community.org/readme-banner-image
   :target: https://odoo-community.org/get-involved?utm_source=readme
   :alt: Odoo Community Association

==============
Stock Analytic
==============

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

.. |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/license-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.

Analytic applicability judgment
-------------------------------

Applicability of the analytic distribution is judged based on the
applicability settings of the analytic plan.

Note that this module adds the 'Stock Move' option to the business
domain, and 'Operation Type' field.

Return moves are currently outside the scope of the validation /
applicability judgment (i.e. treated the same as optional) to allow some
flexibility in the operation since multiple factors (e.g. applicability
of the original move) may need to be considered to correctly judge the
applicability.

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 <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>
- Mantas Šniukas <mantas@vialaurea.lt>
- Marcos Oitabén <marcos.oitaben@dynapps.eu>
- `Quartile <https://www.quartile.co>`__:

  - Yoshi Tashiro

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

  - Antoni Marroig <amarroig@apsl.net>

- Saran Lim. <saranl@ecosoft.co.th>

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.
