2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-08-07 04:12:11 +00:00

[Bug] Fix issue with build order lines table (#8376)

* Revert change to BuildItem API

- Requires "allocations" for build output table
- Probably can refactor this later

* Bug fix for BuildOutputTable in PUI

- Correct calculation for "fully allocated"

* Adjust annotations for serializer

* Bump API version
This commit is contained in:
Oliver
2024-10-28 17:06:09 +11:00
committed by GitHub
parent 21ab1a184d
commit 6953640161
3 changed files with 13 additions and 2 deletions

View File

@@ -153,7 +153,7 @@ export default function BuildOutputTable({
// Find all allocations which match the build output
let allocations = item.allocations.filter(
(allocation: any) => (allocation.install_into = record.pk)
(allocation: any) => allocation.install_into == record.pk
);
allocations.forEach((allocation: any) => {