Add bom_items to build order report context

This commit is contained in:
Oliver Walters 2021-02-17 23:27:09 +11:00
parent bb3440a8a4
commit ef902fc313

View File

@ -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,
} }