mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Fix "sales_order" filter for buildId (#8024)
This commit is contained in:
parent
c096f2f43a
commit
99e822213d
@ -309,10 +309,7 @@ export default function BuildDetail() {
|
|||||||
label: t`Child Build Orders`,
|
label: t`Child Build Orders`,
|
||||||
icon: <IconSitemap />,
|
icon: <IconSitemap />,
|
||||||
content: build.pk ? (
|
content: build.pk ? (
|
||||||
<BuildOrderTable
|
<BuildOrderTable parentBuildId={build.pk} />
|
||||||
parentBuildId={build.pk}
|
|
||||||
salesOrderId={build.sales_order}
|
|
||||||
/>
|
|
||||||
) : (
|
) : (
|
||||||
<Skeleton />
|
<Skeleton />
|
||||||
)
|
)
|
||||||
|
@ -194,6 +194,7 @@ export function BuildOrderTable({
|
|||||||
params: {
|
params: {
|
||||||
part: partId,
|
part: partId,
|
||||||
ancestor: parentBuildId,
|
ancestor: parentBuildId,
|
||||||
|
sales_order: salesOrderId,
|
||||||
part_detail: true
|
part_detail: true
|
||||||
},
|
},
|
||||||
tableActions: tableActions,
|
tableActions: tableActions,
|
||||||
|
Loading…
Reference in New Issue
Block a user