Export Stock Forecast data along with product stocks.
Project description
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
Contributors
-
Iván Todorovich <ivan.todorovich@camptocamp.com>
Maintainers
Current maintainer:
This module is part of the shopinvader/odoo-shopinvader project on GitHub.
You are welcome to contribute.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
File details
Details for the file odoo14_addon_shopinvader_product_stock_forecast-14.0.1.0.1.dev4-py3-none-any.whl
.
File metadata
- Download URL: odoo14_addon_shopinvader_product_stock_forecast-14.0.1.0.1.dev4-py3-none-any.whl
- Upload date:
- Size: 19.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 11bd4e8b097c53aeaa89ed0d01af4508e8d2d5338c8824632dd925f104169cdb |
|
MD5 | b707c7f0df0d11e3cda80398e137dcf8 |
|
BLAKE2b-256 | de22f90b6ee066dd75ed3305d543d0b63c90cb9dcbcc6797b8ad6172b623361b |