Skip to content

inventree/inventree-order-history

Repository files navigation

License: MIT PyPI PEP

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 Build Order History
All Purchase Orders Purchase Order History
Sales Orders for a specific Part Sales Order History

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:

Install Plugin

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.

Plugin Settings

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.