mirror of
https://github.com/inventree/InvenTree.git
synced 2025-07-18 18:56:31 +00:00
Build table fix (#7940)
* Remove sales order filter restriction * Formalize "ancestor" filter * Bump API version
This commit is contained in:
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,
|
||||
|
Reference in New Issue
Block a user