InvenTree icon indicating copy to clipboard operation
InvenTree copied to clipboard

Part Parameter Explanation

Open SchrodingersGat opened this issue 9 months ago • 5 comments

Discussed in https://github.com/inventree/InvenTree/discussions/11377

Originally posted by justynbell February 19, 2026 Hi, I'm new to Inventree and I'm trying to see if it could easily be a database for parts that I use.

Mostly, I'm understanding how "simple" parts, like passive components for example, can be added. I think I'm having a hard time because I'm not understanding the Inventree philosophy.

For example, I add a part Subcategory: Passives. Within passives I have Resistors and Capacitors.

Passives -> Resistors Passives -> Capacitors

If I create a capacitor part, I want to add a parameter for "capacitance". Cool. Now I create a resistor part, and it automatically shows "capacitance" in the Parametric view.

image

Obviously this is a small example. I would imagine I want categories like connectors, digital circuits (various ICs), Relays, Switches, etc, etc. Is every new part in a new category supposed to have a hundred parameters, of which only the small subset of what is applicable actually filled in?

SchrodingersGat avatar Feb 19 '26 10:02 SchrodingersGat

This is a bug introduced with the "generic parameters" implementation. The parametric part view should show parameters only for the linked category (and any child categories).

SchrodingersGat avatar Feb 19 '26 10:02 SchrodingersGat

Solution incoming in https://github.com/inventree/InvenTree/pull/11383 - this was a curly one!

SchrodingersGat avatar Feb 19 '26 11:02 SchrodingersGat

Closed in #11383

SchrodingersGat avatar Feb 22 '26 02:02 SchrodingersGat

this still seems to be bugged after the fix?

Image

TimBilliet avatar Mar 15 '26 16:03 TimBilliet

@TimBilliet are you going to delete this comment to in 15 min (like in https://github.com/inventree/InvenTree/pull/11383#issuecomment-4063369431) without any further explanation or context? Either way without proper version and deployment info (like in a bug report) we can not help you.

matmair avatar Mar 15 '26 17:03 matmair