Metadata-Version: 2.1
Name: odoo-addon-stock_quant_history
Version: 17.0.1.0.0.2
Requires-Python: >=3.10
Requires-Dist: odoo>=17.0a,<17.1dev
Summary: Re-generate stock quants for given date
Home-page: https://github.com/OCA/stock-logistics-reporting
License: AGPL-3
Author: Pierre Verkest <pierreverkest84@gmail.com>, Odoo Community Association (OCA)
Author-email: support@odoo-community.org
Classifier: Programming Language :: Python
Classifier: Framework :: Odoo
Classifier: Framework :: Odoo :: 17.0
Classifier: License :: OSI Approved :: GNU Affero General Public License v3

===================
Stock Quant History
===================

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

.. |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%2Fstock--logistics--reporting-lightgray.png?logo=github
    :target: https://github.com/OCA/stock-logistics-reporting/tree/17.0/stock_quant_history
    :alt: OCA/stock-logistics-reporting
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
    :target: https://translation.odoo-community.org/projects/stock-logistics-reporting-17-0/stock-logistics-reporting-17-0-stock_quant_history
    :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/stock-logistics-reporting&target_branch=17.0
    :alt: Try me on Runboat

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

This module allows regenerate stock.quant as it was for a given date.

All stock quant history re-generated for a given date are called
snapshot.

To generate the first snapshot this module assume all stock.move.line
are present in the database.

Next snapshot is computed based on the previous snapshot present in the
database.

**Table of contents**

.. contents::
   :local:

Usage
=====

Generate a new stock snapshot
-----------------------------

- Go to: *Inventory / Reporting / History / Stock snapshot*
- choose the date you want to re-generate stock quants
- click on Generate

Consult stock quant for a given snapshot
----------------------------------------

- Go to: *Inventory / Reporting / History / Stock snapshot*
- select the existing snapshot to open the form view
- click on smart button to display quants at that time

Compare stock over snapshots
----------------------------

- Go to: *Inventory / Reporting / History / Stock snapshot*
- In tree view select at least 2 snapshots
- Click on *Action / Compare stocks*
- You'll be redirected to the stock quant tree view for selected
  snapshots

or

- Go to: *Inventory / Reporting / History / Stock quants*
- use different filters / group and views to make your analysis

Known issues / Roadmap
======================

Short terms
-----------

- Add a companion module stock_quant_history_account to make the glue
  between stock_quant_history and stock_account adding the stock value

Long terms
----------

- Add filters (by locations, by product...) while generating tight
  snapshots (not reused as based snapshot)
- add owner and package fields

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

Bugs are tracked on `GitHub Issues <https://github.com/OCA/stock-logistics-reporting/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/stock-logistics-reporting/issues/new?body=module:%20stock_quant_history%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
-------

* Pierre Verkest <pierreverkest84@gmail.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.

.. |maintainer-petrus-v| image:: https://github.com/petrus-v.png?size=40px
    :target: https://github.com/petrus-v
    :alt: petrus-v

Current `maintainer <https://odoo-community.org/page/maintainer-role>`__:

|maintainer-petrus-v| 

This module is part of the `OCA/stock-logistics-reporting <https://github.com/OCA/stock-logistics-reporting/tree/17.0/stock_quant_history>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
