Skip to content

New Feature Request #652

Closed
Closed

Description

@lookme2

I have been adding parts to InvenTree. I use Molex connectors often and I think it would be nice to be able to link two or more parts together. Like for example the Molex connector with the crimp pin.

Activity

  1. a7hybnj2 commented on Feb 17, 2020

    @a7hybnj2

    Yea, a “related part”, “associated part” would be nice. I think you could do this in the short term by putting it in the notes or if you wanted to mess with it you could have a “crimped molex” part that is a build of the conn + pins parts

  2. added
    enhancement
    part
    on Apr 22, 2020
  3. added
    help wanted
    starter
    on Sep 5, 2020
  4. eeintech commented on Oct 16, 2020

    @eeintech
    Contributor

    @lookme2 @a7hybnj2 In pursuit of this feature, I've created #1048

    Please take a look and let me know if that looks like what you expected.

  5. lookme2 commented on Oct 19, 2020

    @lookme2
    Author

    @eeintech this looks great. I'll try to pull that down and give it a try sometime this week.

  6. sintech commented on Oct 19, 2020

    @sintech
    Contributor

    Static linking is good, but what about dynamic(automatic) linking?

    For example 74-series ICs of different types have the same logic inside: 7400, 73LS00, 74ALS00, 74HC00. It would be nice if all variants of 74*00 were displayed as variant of each other.
    Another example: in Russia we have variants of 74-series under different name 7400=К155ЛА3, 74LS00=К555ЛА3, etc.

    I'm thinking about dynamic links based on regexp or match table.
    Does that make sense?

  7. eeintech commented on Oct 19, 2020

    @eeintech
    Contributor

    @sintech For your example I suggest you use Part "Variants", see documentation.

    If you want to automate variant creation, I suggest you take a look into the API and/or the Python Interface.
    I do believe the logic driving "links" between parts should reside outside of InvenTree.

  8. eeintech commented on Oct 27, 2020

    @eeintech
    Contributor

    @lookme2 Were you able to try it? Any feedback?

  9. lookme2 commented on Oct 28, 2020

    @lookme2
    Author

    @eeintech sorry I have not. I've been very busy the last couple of weeks. I'll try to take a look by the end of the week.

  10. lookme2 commented on Oct 30, 2020

    @lookme2
    Author

    @eeintech I did a git pull this morning and I don't see the related parts tab. Is there something I need to setup for that?

  11. eeintech commented on Oct 30, 2020

    @eeintech
    Contributor

    @lookme2 Which branch did you pull?

  12. lookme2 commented on Oct 30, 2020

    @lookme2
    Author

    @eeintech The Master branch

  13. eeintech commented on Oct 30, 2020

    @eeintech
    Contributor

    @lookme2 Ha it's not in master yet.

    Try this:

    $ git remote add eeintech https://github.com/eeintech/InvenTree.git
    $ git fetch eeintech
    $ git checkout -b related_parts
    $ git pull eeintech related_parts
    
  14. lookme2 commented on Nov 2, 2020

    @lookme2
    Author

    @eeintech I had a chance to look at this over the weekend. Very nice. Thanks!!!

  15. eeintech commented on Nov 2, 2020

    @eeintech
    Contributor

    @lookme2 Glad to hear! I'll ask @SchrodingersGat to review and merge 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementhelp wantedpartstarter

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions