Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

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

Metadata

Release files for odoo14-addon-shopinvader-product-stock-forecast 14.0.1.0.1.dev4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for odoo14-addon-shopinvader-product-stock-forecast 14.0.1.0.1.dev4
File Interpreter ABI Platform
odoo14_addon_shopinvader_product_stock_forecast-14.0.1.0.1.dev4-py3-none-any.whl Python 3 none any Details

Release files / odoo14_addon_shopinvader_product_stock_forecast-14.0.1.0.1.dev4-py3-none-any.whl

Download URL odoo14_addon_shopinvader_product_stock_forecast-14.0.1.0.1.dev4-py3-none-any.whl
Size 19.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
11bd4e8b097c53aeaa89ed0d01af4508e8d2d5338c8824632dd925f104169cdb
BLAKE2b-256 checksum
How to use checksums
de22f90b6ee066dd75ed3305d543d0b63c90cb9dcbcc6797b8ad6172b623361b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.3
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page