mirror of
				https://github.com/inventree/InvenTree.git
				synced 2025-11-03 22:55:43 +00:00 
			
		
		
		
	Add bom_items to build order report context
This commit is contained in:
		@@ -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,
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user