InvenTree Order History
An InvenTree plugin for generating historical ordering data.
This plugin provides a number of tools for generating historical ordering data, which can be displayed dynamically in the user interface, or exported to a file for further processing.
Description
The Order History plugin provides historical order information in a number of different contexts throughout the user interface:
| Context | Screenshot |
|---|---|
| All Build Orders | |
| All Purchase Orders | |
| Sales Orders for a specific Part |
Installation
Via User Interface
The simplest way to install this plugin is from the InvenTree plugin interface. Enter the plugin name (inventree-order-history) and click the Install button:
Via Pip
Alternatively, the plugin can be installed manually from the command line via pip:
pip install -U inventree-order-history
Note: After the plugin is installed, it must be activated via the InvenTree plugin interface.
Configuration
The plugin can be configured via the InvenTree plugin interface. The following settings are available:
| Setting | Description |
|---|---|
| Build Order History | Enable display of build order history information |
| Purchase Order History | Enable display of purchase order history information |
| Sales Order History | Enable display of sales order history information |
| Return Order History | Enable display of return order history information |
| Allowed Group | Specify a group which is allowed to view order history information. Leave blank to allow all users to view order history information. |
Dashboard Widgets
The plugin provides four custom dashboard widgets, each displaying a bar chart of completed orders per month for the rolling 12-month window. Widgets are added from the InvenTree dashboard by clicking Add Widget:
| Widget | Description |
|---|---|
| Build Order History | Completed build orders per month |
| Purchase Order History | Completed purchase orders per month |
| Sales Order History | Completed sales orders per month |
| Return Order History | Completed return orders per month |
Each widget only appears if the corresponding order type is enabled in the plugin settings (e.g. Build Order History must be enabled for the build order widget to be available). If a User Group is configured, only members of that group will see any of the widgets.
Months with no completed orders are shown as zero rather than being omitted, giving a consistent 12-bar view.
Contributing
Backend
Backend code is written in Python, and is located in the order_history directory.
Frontend
Frontend code is written in JavaScript, and is located in the frontend directory. Read the frontend README for more information.
Metadata
Release files for inventree-order-history 1.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| inventree_order_history-1.0.3.tar.gz | 874.0 kB | Without provenance | Details for inventree_order_history-1.0.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| inventree_order_history-1.0.3-py3-none-any.whl | Python 3 | none | any | Details for inventree_order_history-1.0.3-py3-none-any.whl |
Total release size: 1.8 MB
Release files / inventree_order_history-1.0.3.tar.gz
| Download URL | inventree_order_history-1.0.3.tar.gz |
|---|---|
| Size | 874.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f69208b1f9bcd3ae1cd3a49682ff351c0f3cd6e0a8e4d53f9b2aa3daf70dc50d
|
|
BLAKE2b-256 checksum How to use checksums |
a3cd6b0c2717d498ae8a9035ee691a182f3f23218a8a792d335edb633dbdcd9a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.15
|
Release files / inventree_order_history-1.0.3-py3-none-any.whl
| Download URL | inventree_order_history-1.0.3-py3-none-any.whl |
|---|---|
| Size | 889.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
389b9432ebd51de1b225462c7784c8f2ff727272add767f8008278a5d73ad4e3
|
|
BLAKE2b-256 checksum How to use checksums |
402925defe7ac8379b69de420f3fcf8001b89b0519675a0df1b699aff8afb0c5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.15
|
Security for inventree-order-history 1.0.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.