Repository navigation
Description
Please verify that this bug has NOT been raised before.
- I checked and didn't find a similar issue
Describe the bug*
Making a custom stock item state then using the change status WHILE in the transfer stock screen errors with
"[VALUE FOR CUSTOM STATE]" is not a valid choice. It works fine with built-in values. Using the change status of the entire stock works without issues.
While testing, the other custom state that seems to have similar settings works, it has value 150, I tried a lower value 160, but it did not work!
As per the docs, https://docs.inventree.org/en/latest/concepts/custom_states/, the values I tried should work?
Steps to Reproduce
- Go to https://demo.inventree.org/web/part/931/stock
- Select stock TEST PART that has status OK
- Click on transfer stock, select 1
- Click on change status button
- Select TEST
- Select transfer
- Error with
"160" is not a valid choice.
Expected behaviour
Stock transfers to correct status and location
Deployment Method
Package
Version Information
demo site
InvenTree-Version: 1.8.0 dev
Django Version: 5.2.17
Commit Hash: ec5d632
Commit Date: 2026-11-04
Commit Branch: null
Database: django.db.backends.postgresql
Debug-Mode: False
Deployed using Docker: True
Platform: Linux-5.15.0-100-generic-x86_64-with-glibc2.41
Installer: DOC
Active plugins: false
Try to reproduce on the demo site
I tried to reproduce
Is the bug reproducible on the demo site?
Reproducible
Relevant log output
I have reviewed this report for correctness and filled out all sections.
- I have checked this report. I acknowledge that filing bugs via AI agents without review might lead to being blocked.
Activity
SchrodingersGat commentedon Nov 5, 2026
@Philip2809 thanks for reporting - fix incoming in #13194
[bug] support custom stock status on tranfer (#13194) (#13195)
[bug] support custom stock status on tranfer (inventree#13194)