Skip to content

transfer to custom state not working fully #13191

Closed

Description

@Philip2809

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

  1. Go to https://demo.inventree.org/web/part/931/stock
  2. Select stock TEST PART that has status OK
  3. Click on transfer stock, select 1
  4. Click on change status button
  5. Select TEST
  6. Select transfer
  7. 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

  1. added
    bug
    question
    triage:not-checked
    on Nov 4, 2026
  2. added theissue type on Nov 4, 2026
  3. SchrodingersGat commented on Nov 5, 2026

    @SchrodingersGat
    Member

    @Philip2809 thanks for reporting - fix incoming in #13194

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugquestiontriage:not-checked

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions