2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-07-01 19:20:55 +00:00

Refactor bom item filter

- Also updates a number of part functions to make use of inherited BOM items
This commit is contained in:
Oliver Walters
2021-02-17 22:53:56 +11:00
parent 1eb2456e3d
commit bb3440a8a4
5 changed files with 80 additions and 27 deletions

View File

@ -372,6 +372,7 @@ class BillOfMaterialsReport(ReportTemplateBase):
return {
'part': part,
'category': part.category,
'bom_items': part.get_bom_items(),
}