mirror of
https://github.com/inventree/InvenTree.git
synced 2025-11-14 03:46:44 +00:00
[UI] Part requirements (#10036)
* Tweak SalesOrderAllocations table * Refactor "include_variants" filter * Improved API filtering for "SalesOrderLineItem" endpoint * Fetch part detail for table * Fix email template - Referenced template which does not exist * Refactor the "requirements" endpoint - Include variant part requirements too * Updated starred notifications * Adjust column name * Update PartDetail - Extract information from partRequirements query first * Cache BOM items * Improve PartDetail page * Enhance isGeneratingSchema - Call inspect as late as possible * Adjust PartDetail * Improve BuildOrderAllocations table * Exclude common.newsfeedentry when exporting * Updated playwright tests * Bump API version
This commit is contained in:
@@ -26,7 +26,7 @@ import {
|
||||
ReferenceColumn,
|
||||
StatusColumn
|
||||
} from '../ColumnRenderers';
|
||||
import { StockLocationFilter } from '../Filter';
|
||||
import { IncludeVariantsFilter, StockLocationFilter } from '../Filter';
|
||||
import { InvenTreeTable } from '../InvenTreeTable';
|
||||
|
||||
/**
|
||||
@@ -66,12 +66,7 @@ export default function BuildAllocatedStockTable({
|
||||
];
|
||||
|
||||
if (!!partId) {
|
||||
filters.push({
|
||||
name: 'include_variants',
|
||||
type: 'boolean',
|
||||
label: t`Include Variants`,
|
||||
description: t`Include orders for part variants`
|
||||
});
|
||||
filters.push(IncludeVariantsFilter());
|
||||
}
|
||||
|
||||
filters.push(StockLocationFilter());
|
||||
|
||||
Reference in New Issue
Block a user