Skip to content

Related Parts - #1048

Merged
SchrodingersGat merged 5 commits into
inventree:masterfrom
eeintech:related_parts
Nov 3, 2020
Merged

SchrodingersGat merged 5 commits into
inventree:masterfrom
eeintech:related_parts

Conversation

@eeintech

Copy link
Copy Markdown
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

eeintech commented Nov 2, 2020 •

Copy link
Copy Markdown
Contributor Author

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

@SchrodingersGat

Copy link
Copy Markdown
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