Skip to content

Conversation

nlaubal
Copy link

@nlaubal nlaubal commented Jun 11, 2025

Creation of a button to generate a bill of materials in which all levels are visible from a single element. It has an export option that allows you to select a CSV format in which you can choose the columns to export, as well as an option to ‘consolidate’ the bill of materials, which means that you export a bill of materials without duplication, but which adds the number of times the object is required.
This BOM system then allows you to anticipate potential shortages, better organise your stock and have a better overview of the creation process.

@nlaubal nlaubal requested a review from SchrodingersGat as a code owner June 11, 2025 14:46
Copy link

netlify bot commented Jun 11, 2025

Deploy Preview for inventree-web-pui-preview ready!

Name Link
🔨 Latest commit 2dfc549
🔍 Latest deploy log https://app.netlify.com/projects/inventree-web-pui-preview/deploys/684a99310134b50007cccc0f
😎 Deploy Preview https://deploy-preview-9759--inventree-web-pui-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 94 (🟢 up 34 from production)
Accessibility: 81 (no change from production)
Best Practices: 100 (no change from production)
SEO: 78 (no change from production)
PWA: -
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify project configuration.

@SchrodingersGat
Copy link
Member

@nlaubal the existing export system already allows for exporting a complete "top to bottom" BOM for an assembly - including subassemblies.

Can you please show some screenshots of the proposed UI changes?

@nlaubal
Copy link
Author

nlaubal commented Jun 12, 2025

home
flatbom
export

@matmair
Copy link
Contributor

matmair commented Jun 12, 2025

  1. Please remove the translation changes, that is handled automatically
  2. Please add docs for the feature you added

@SchrodingersGat
Copy link
Member

@nlaubal the ability to "expand" the BOM is definitely needed here (we had it in the legacy UI for e.g) however I would request some changes here:

  1. Remove the custom "export" functionality in the code. There is a custom (server side) export framework which already allows top-to-bottom BOM export. And it can be extended via user plugins if required.

  2. Display nested BOMs as nested items

Refer to the docs here - https://icflorescu.github.io/mantine-datatable/examples/nested-tables/

It should be possible to expand each BOM row to show the subassembly BOM. Then, the user can also "collapse" that row. And for convenience we can add an "expand all subassemblies" button.

Basically, let's use the UI functionality already provided! Additionally, expanding the subassemblies as required is much more performant than fetching all BOM data. For a BOM with a very deep heirarchy this could be a very long time spent requesting bulk data.

@SchrodingersGat SchrodingersGat mentioned this pull request Jun 19, 2025
4 tasks
Copy link
Contributor

This PR seems stale. Please react to show this is still important.

@github-actions github-actions bot added the inactive Indicates lack of activity label Aug 12, 2025
@SchrodingersGat SchrodingersGat added this to the 1.1.0 milestone Aug 12, 2025
@SchrodingersGat SchrodingersGat mentioned this pull request Aug 21, 2025
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
inactive Indicates lack of activity
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants