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

Fix stock location structural check (#4089) #4095

Merged

Conversation

SchrodingersGat
Copy link
Member

@SchrodingersGat SchrodingersGat commented Dec 21, 2022

  • Fix stock location structural check

Exclude sub stock location items from preventing that a stock location can be switched to structural.

  • Fix structural check on both storage location and parts category

Exclude children of sub- locations/categories in the check to allow this location/category to be structural

(cherry picked from commit 14a2c12)

Ref: #4089

* Fix stock location structural check

Exclude sub stock location items from preventing that a stock location can be switched to structural.

* Fix structural check on both storage location and parts category

Exclude children of sub- locations/categories in the check to allow this location/category to be structural

(cherry picked from commit 14a2c12)
@SchrodingersGat SchrodingersGat added this to the 0.9.1 milestone Dec 21, 2022
@SchrodingersGat SchrodingersGat added the bug Identifies a bug which needs to be addressed label Dec 21, 2022
@SchrodingersGat SchrodingersGat merged commit 641adb6 into inventree:0.9.x Dec 21, 2022
@SchrodingersGat SchrodingersGat deleted the structural-fix-port branch December 21, 2022 20:48
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants