Empty MPN and Manufacturer in BOM

Hi,

I noticed that for some components the BOM does not show the MPN or Manufacturer, even though they are defined in the Device. I am still using LibrePCB v2 RC1.

  • device1.lp → the information is not shown in the BOM

  • device2.lp → the information is displayed correctly

I also noticed that device1.lp has two times the VALUE information.

The two files are attached for reference.

device.zip (1.4 KB)

Gian Carlo

Hi,

The BOM is using the MPN which is defined in the schematic, not in the library where it initially originates from. Please have a look at the documentation which explains how this works:

So you added it two times :slight_smile: It’s not harmful (the part attribute has priority over the device attribute), but honestly a VALUE attribute should not be added at all because VALUE is a built-in attribute. It would be better to add attributes CAPACITANCE and VOLTAGE_RATING and then set the value of the component (either in the schematic or in the library) to “{{CAPACITANCE}} {{VOLTAGE_RATING}}”. Though I understand it is a bit cumbersome to do this for every component. We plan to add those attributes to our official capacitor components soon.