#12945·InvenTree

[FR] Preserve BOM column information in expanded subassemblies

Author: MIOsystemsCreated Sep 28, 2026Updated Sep 29, 2026
LabelsenhancementUser Interface

Please verify that this feature request has NOT been suggested before.

  • I checked and didn't find a similar feature request

Problem statement

The multi-level BOM expansion in the new UI currently loses important information when a subassembly is expanded.

One of the main ways we use the BOM view in daily production planning is by scanning the BOM for Can Build and Available Stock. These two values are usually the fastest way for us to determine whether an assembly can actually be produced, and, if not, which component is preventing it. For a top-level assembly with multiple subassemblies, this becomes even more important. Ideally, the BOM should allow us to inspect the complete structure and immediately identify where the production constraint is located.

With the current multi-level BOM implementation, that workflow breaks down as soon as a subassembly is expanded. The child BOM only shows Component, IPN, Reference and Quantity, while the stock-related information disappears. As a result, the top-level BOM no longer provides enough information to determine why an assembly cannot be built. Instead of scanning one BOM view, I now have to open or inspect the individual subassemblies separately to find out which component is missing or limiting production.

For us, this removes much of the practical value of the multi-level BOM view. The main reason for expanding a subassembly is precisely to understand what is inside it and whether those components are available to build the parent assembly.

The main BOM table already provides columns such as Available Stock and Can Build, but expanded subassemblies are rendered through BomSubassemblyTable.tsx, which currently only defines a small fixed subset of columns.

Column switching is also explicitly disabled for this table:

enableColumnSwitching: false

This means that expanding a subassembly removes the stock information which is often the main reason for expanding it in the first place.

Please let me known what is the reason for the separation of the columns definitions.

Suggested solution

To avoid maintaining duplicate rendering logic between the main BOM table and the subassembly table, it may be useful to share the relevant column definitions between BomTable.tsx and BomSubassemblyTable.tsx.

For example, stock-related columns such as Available Stock and Can Build could be defined by shared column helper functions and then used by both tables.

The subassembly table could then either:

  1. inherit the visible compatible columns from the parent BOM table, or
  2. maintain its own column visibility state with enableColumnSwitching: true.

My preference would be option 1, as an expanded subassembly conceptually remains part of the same BOM view and it would keep the information presentation consistent across all levels.

From a user's perspective, an expanded subassembly is still part of the same BOM inspection workflow, so it would be more consistent if it retained the same relevant columns as the parent BOM table.

Describe alternatives you've considered

Alternatively you need to open all subassemblies you want to check.

Examples of other systems

The legacy InvenTree UI itself is the relevant example.

In the legacy implementation, subassembly BOM rows were dynamically appended to the existing BOM table. Because the same table and column definitions were used for every level, child BOM items retained fields such as Available Stock and Can Build.

The new multi-level BOM implementation introduced in #11809 uses a dedicated BomSubassemblyTable, which currently contains only a small fixed subset of the main BOM columns.

Do you want to develop this?

  • I want to develop this.