mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Add bom_items to build order report context
This commit is contained in:
parent
bb3440a8a4
commit
ef902fc313
@ -341,6 +341,7 @@ class BuildReport(ReportTemplateBase):
|
|||||||
return {
|
return {
|
||||||
'build': my_build,
|
'build': my_build,
|
||||||
'part': my_build.part,
|
'part': my_build.part,
|
||||||
|
'bom_items': my_build.part.get_bom_items(),
|
||||||
'reference': my_build.reference,
|
'reference': my_build.reference,
|
||||||
'quantity': my_build.quantity,
|
'quantity': my_build.quantity,
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user