Skip to content

Add the concept of "belongs to"/"installed in" to single output trackable builds - #991

Closed
wolffam wants to merge 7 commits into
inventree:masterfrom
wolffam:belongs_to_functionality
Closed

wolffam wants to merge 7 commits into
inventree:masterfrom
wolffam:belongs_to_functionality

Conversation

@wolffam

@wolffam wolffam commented Sep 20, 2020

Copy link
Copy Markdown
Contributor

Multiple issues related to this PR but the most recent are #977 and #918 .
This PR only adds the concept of "belongs_to" for builds that meet the following criteria:

  1. There is a single build output
  2. The build part is trackable

It handles the case where the subparts are trackable as well as non-trackable.
There are follow-on features of "modifying" a build as well as supporting multiple build outputs (this would require a good deal of UI and a specific workflow) can be added later.

This is my first time working with a Django model so any feedback regarding conventions (the right way to query data for instance) is much appreciated!

@wolffam wolffam changed the title Adds the concept of "belongs to" or "installed in" to single output trackable builds Adds the concept of "belongs to"/"installed in" to single output trackable builds Sep 20, 2020
@wolffam

wolffam commented Sep 20, 2020

Copy link
Copy Markdown
Contributor Author

What the completed reference looks like:
Screen Shot 2020-09-20 at 12 39 02 AM

@wolffam wolffam changed the title Adds the concept of "belongs to"/"installed in" to single output trackable builds Add the concept of "belongs to"/"installed in" to single output trackable builds Sep 20, 2020
This was referenced Sep 27, 2020
@wolffam

wolffam commented Oct 5, 2020

Copy link
Copy Markdown
Contributor Author

Superseded by #1000

@wolffam wolffam closed this Oct 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant