inventree / InvenTree

Open Source Inventory Management System
https://docs.inventree.org
MIT License
4.3k stars 776 forks source link

Custom Stock Status cannot be set from Stock Actions #7990

Open gunstr opened 2 months ago

gunstr commented 2 months ago

Please verify that this bug has NOT been raised before.

Describe the bug*

A configured custom stock status such as "TestState" is not visible in the drop down list in the StockAction modal.

I can set the TestState on an item from the Edit Stock Item modal but I noticed that if then TestState is selected as a filter to the Stock Item list no itmes are visble. I do not know if this is related or maybe it should be a separate issue?

Steps to Reproduce

This test is done on the Demo site only, I have not installed PUI locally yet.

  1. Create a Custom Stock status
  2. Open the Stock Items list, click Stock Actions and select Change Stock Status

image

  1. In the Status dropdown the TestState option is not visible

image

Expected behaviour

It should be possible to set custom stock status also from the Stock Action modal

Deployment Method

Version Information

InvenTree-Version: 0.17.0 dev Django Version: 4.2.15 Commit Hash: 6951748 Commit Date: 2024-08-25 Commit Branch: null Database: postgresql Debug-Mode: False Deployed using Docker: True Platform: Linux-5.15.0-100-generic-x86_64-with Installer: DOC nullActive plugins: false

Please verify if you can reproduce this bug on the demo site.

Relevant log output

No response

SchrodingersGat commented 2 months ago

@gunstr thanks for reporting, we will have to look into this