Fix "sales_order" filter for buildId (#8024)

This commit is contained in:
Oliver 2024-08-29 08:15:14 +10:00 committed by GitHub
parent c096f2f43a
commit 99e822213d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 4 deletions

View File

@ -309,10 +309,7 @@ export default function BuildDetail() {
label: t`Child Build Orders`,
icon: <IconSitemap />,
content: build.pk ? (
<BuildOrderTable
parentBuildId={build.pk}
salesOrderId={build.sales_order}
/>
<BuildOrderTable parentBuildId={build.pk} />
) : (
<Skeleton />
)

View File

@ -194,6 +194,7 @@ export function BuildOrderTable({
params: {
part: partId,
ancestor: parentBuildId,
sales_order: salesOrderId,
part_detail: true
},
tableActions: tableActions,