Skip to main content

Re-generate stock quants for given date

Project description

Beta License: AGPL-3 OCA/stock-logistics-reporting Translate me on Weblate Try me on Runboat

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.

Once a snapshot has been taken, every locked and done picking won’t be able to unlock to avoid incoherent stock history.

Table of contents

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

Do not contact contributors directly about support or help with technical issues.

Credits

Authors

Maintainers

This module is maintained by the OCA.

Odoo Community Association

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.

Current maintainers:

petrus-v StephaneMangin

This module is part of the OCA/stock-logistics-reporting project on GitHub.

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file odoo14_addon_stock_quant_history-14.0.1.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for odoo14_addon_stock_quant_history-14.0.1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 51ed4aaa78a83281a51ec5c363a52273769f3a66f380c51c46ecfc5b6744c429
MD5 f5d348eb77a471b195047a7c997989c5
BLAKE2b-256 5a7371648318c823409a7fccb6791014904ad2c9bb49564707d998c573f6bbb9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page