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

Related Parts #1048

Merged
merged 5 commits into from Nov 3, 2020
Merged

Related Parts #1048

merged 5 commits into from Nov 3, 2020

Conversation

eeintech
Copy link
Contributor

This added feature, if approved, fixes #652

What is Related Parts

Denotes a relationship between two parts, when users want to show their usage is "related" to another part or simply emphasize a link between two parts.

Implementation

  • New PartRelated model/table to store relationships between parts (requires migration)
  • New Related tab shown in Part detail page
  • Ability to add relationships between parts through both main and admin interfaces
  • Can only manage relationship if user has change permission on Part ruleset

Template View

image

@eeintech eeintech mentioned this pull request Oct 16, 2020
@eeintech
Copy link
Contributor Author

eeintech commented Nov 2, 2020

@SchrodingersGat Feedback is positive (see #652), wanna take a look?

@SchrodingersGat
Copy link
Member

@eeintech I really like the implementation here. When I was originally thinking of fixing #652 there were a number of potential issues I thought of, but you've addressed them all! Very impressive instinct into how the code base works 👍

Thanks for the contribution!

@SchrodingersGat SchrodingersGat merged commit ef2c04b into inventree:master Nov 3, 2020
@eeintech eeintech mentioned this pull request Nov 3, 2020
@eeintech eeintech deleted the related_parts branch July 14, 2021 19:11
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.

New Feature Request
2 participants