-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Description
Please verify that this bug has NOT been raised before.
- I checked and didn't find a similar issue
Describe the bug*
When completing a build order, the allocated stock was not consumed.
I re-opened the build order and tried to manually consume the allocated stock. Only a couple line items got consumed.
No errors are being thrown.
2026-03-11.14-16-36.mp4
Steps to Reproduce
- Start a build order
- Allocate parts
- Start incomplete parts
- Complete parts
- The allocated stock will not automatically become consumed.
- Attempt to consume the stock manually.
- Only some stock will get consumed. Sometimes trying multiple times can get another couple line items.
Expected behaviour
When a part is completed, it is assumed the stock will be consumed.
Deployment Method
Package
Version Information
InvenTree-Version: 1.2.3
Django Version: 5.2.11
Commit Hash: 12da3b0
Commit Date: 2026-02-22T12:25:31Z
Commit Branch: 1.2.x stable
Database: django.db.backends.sqlite3
Debug-Mode: False
Deployed using Docker: False
Platform: Linux-6.8.0-101-generic-x86_64-with-glibc2.39
Installer: PKG
Target: ubuntu:24.04
Active plugins: [{"name":"InvenTreeBarcode","slug":"inventreebarcode","version":"2.1.0"},{"name":"BOM Exporter","slug":"bom-exporter","version":"1.1.0"},{"name":"InvenTree Exporter","slug":"inventree-exporter","version":"1.0.0"},{"name":"Parameter Exporter","slug":"parameter-exporter","version":"2.0.0"},{"name":"InvenTreeEmailNotifications","slug":"inventree-email-notification","version":"1.0.0"},{"name":"InvenTreeUINotifications","slug":"inventree-ui-notification","version":"1.0.0"},{"name":"InvenTreeCurrencyExchange","slug":"inventreecurrencyexchange","version":"1.0.0"},{"name":"InvenTreeMachines","slug":"inventree-machines","version":"1.0.0"},{"name":"InvenTreeLabel","slug":"inventreelabel","version":"1.1.0"},{"name":"InvenTreeLabelMachine","slug":"inventreelabelmachine","version":"1.0.0"},{"name":"InvenTreeLabelSheet","slug":"inventreelabelsheet","version":"1.0.1"},{"name":"DigiKeyBarcodePlugin","slug":"digikeyplugin","version":"1.0.1"},{"name":"LCSCBarcodePlugin","slug":"lcscplugin","version":"1.0.1"},{"name":"MouserBarcodePlugin","slug":"mouserplugin","version":"1.0.1"},{"name":"TMEBarcodePlugin","slug":"tmeplugin","version":"1.0.1"}]
Try to reproduce on the demo site
I did not try to reproduce
Is the bug reproducible on the demo site?
Not reproducible