2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-07-18 18:56:31 +00:00

Build table fix ()

* Remove sales order filter restriction

* Formalize "ancestor" filter

* Bump API version
This commit is contained in:
Oliver
2024-08-21 10:24:12 +10:00
committed by GitHub
parent 9239c82113
commit bbd432c03f
3 changed files with 14 additions and 47 deletions
src
backend
InvenTree
InvenTree
build
frontend
src

@@ -13,7 +13,6 @@ import { useCreateApiFormModal } from '../../hooks/UseForm';
import { useTable } from '../../hooks/UseTable';
import { apiUrl } from '../../states/ApiState';
import { useUserState } from '../../states/UserState';
import { TableColumn } from '../Column';
import {
CreationDateColumn,
DateColumn,
@@ -110,13 +109,6 @@ export function BuildOrderTable({
label: t`Active`,
description: t`Show active orders`
},
{
name: 'cascade',
type: 'boolean',
label: t`Cascade`,
description: t`Display recursive child orders`,
active: !!parentBuildId
},
{
name: 'status',
label: t`Status`,
@@ -201,8 +193,7 @@ export function BuildOrderTable({
props={{
params: {
part: partId,
sales_order: salesOrderId,
parent: parentBuildId,
ancestor: parentBuildId,
part_detail: true
},
tableActions: tableActions,