Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Place uninstalled items back in stock #4994

Merged
merged 1 commit into from
Jun 8, 2023

Conversation

mattbnz
Copy link
Contributor

@mattbnz mattbnz commented Jun 8, 2023

reset the consumed_by field as well as belongs_to, so an uninstalled item can be reused.

Fixes: #4992

reset the consumed_by field as well as belongs_to, so an uninstalled
item can be reused.

Fixes: inventree#4992
@SchrodingersGat SchrodingersGat added bug Identifies a bug which needs to be addressed stock Related to Stock models build Build orders labels Jun 8, 2023
@SchrodingersGat SchrodingersGat added this to the 0.12.0 milestone Jun 8, 2023
@SchrodingersGat
Copy link
Member

Cheers for the quick fix @mattbnz :)

@SchrodingersGat SchrodingersGat merged commit a4b4df5 into inventree:master Jun 8, 2023
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Identifies a bug which needs to be addressed build Build orders stock Related to Stock models
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Uninstalling a tracked/serialized item does not return it to available stock
2 participants