Files
InvenTree/docs/docs/plugins/builtin/stocktake_exporter.md
T
Oliver 5574e7cf6b [refactor] Stocktake -> Stock History (#10124)
* Remove STOCKTAKE ruleset

* Adjust wording of settings

* Cleanup

* Improve text for global settings

* Add BulkDeleteMixin to "stocktake" endpoint

* Frontend updates

* Migrations

- Remove field 'last_stocktake' from Part model
- Remove fields 'user' and 'note' from PartStocktake model
- Remove model PartStocktakeReport

* Frontend cleanup

* Rename global setting

* Rewrite stocktake functionality

* Cleanup

* Adds custom exporter for part stocktake data

* Frontend cleanup

* Bump API version

* Tweaks

* Frontend updates

* Fix unit tests

* Fix helper func

* Add docs

* Fix broken link

* Docs updates

* Adjust playwright tests

* Add unit testing for plugin

* Add unit testing for stock history creation

* Fix unit test
2025-08-06 08:02:56 +10:00

1.6 KiB

title
title
Stocktake Exporter

Stocktake Exporter Plugin

The Stocktake Exporter Plugin provides custom "stocktake" export functionality for Part data.

It utilizes the ExporterMixin mixin to provide a custom export format for stocktake data.

This exporter plugin can be used to export a comprehensive list of current stock levels for selected parts.

Activation

This plugin is an optional plugin, and must be enabled in the InvenTree settings.

Plugin Settings

There are no configurable settings for this plugin.

Usage

This plugin is used in the same way as the InvenTree Exporter Plugin, but provides a custom export format for stocktake data.

Export Options

When exporting part data, the Stocktake Exporter plugin is available for selection in the export dialog. When selected, the plugin provides some additional export options to control the data export process.

{{ image("stocktake_exporter_options.png", base="plugin/builtin", title="Stocktake Export Options") }}

Option Description
Pricing Data Include pricing data in the export. This will add columns for the cost of "stock on hand".
Include External Stock Include stock from external warehouses in the export. This will add columns for the stock levels in external warehouses, and include the external quantities in the total stock count and valuation.
Include Variant Items Include variant items in the export. This will add columns for the variant items associated with each part, and include the variant quantities in the total stock count and valuation.