Skip to main content

Export Stock Forecast data along with product stocks.

Project description

Beta License: AGPL-3 shopinvader/odoo-shopinvader

This module exports the forecasted stock quantities for each product. This data can be used by the frontend to compute virtual stocks at any given date.

The stock forecast data is a list of planned stock variations, like so:

[
    {"date": "2021-12-01T08:00:00", "qty": 10},
    {"date": "2021-12-02T10:00:00", "qty": -1},
    {"date": "2021-12-03T15:00:00", "qty": -4},
    {"date": "2021-12-04T11:00:00", "qty": 5},
]

This data can be used by aggregated and used by the frontend to compute the virtual stock of a product at any given date.

For example, assuming the initial qty_available is 10, and that today is 2021-12-01 00:00:00, we can infer the following:

  • After 2021-12-01 08:00:00, stock will be 20

  • After 2021-12-02 10:00:00, stock will be 19

  • After 2021-12-03 15:00:00, stock will be 15

  • After 2021-12-04 11:00:00, stock will be 20

Table of contents

Configuration

On the Shopinvader Backend, enable the Stock Forecast.

Optionally, you can set a Stock Forecast Horizon in days to limit the number of days to forecast.

Known issues / Roadmap

It may be a good idea to implement a product_stock_forecast_interval setting, to round and group forecasted lines.

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 smashing it by providing a detailed and welcomed feedback.

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

Credits

Authors

  • Camptocamp SA

Contributors

Maintainers

Current maintainer:

ivantodorovich

This module is part of the shopinvader/odoo-shopinvader project on GitHub.

You are welcome to 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

Supported by

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