mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-16 20:15:44 +00:00
[PUI] Platform fixes (#8324)
* Add "IPN" column to build order allocated stock table * Allow sorting and searching by IPN * Handle allocations where allocated but required == 0 * Add "no info available" message to part scheduling * Adjust PartSchedulingTable * Icon fix * Add "latest serial number" information to PartDetail page * Cleanup code for serial-number placeholder in forms * Logic fix for displaying non-unity pack quantity * Fix description field on SupplierPart page * Fix duplicate table column
This commit is contained in:
@ -737,10 +737,12 @@ class BuildItemList(DataExportViewMixin, BulkDeleteMixin, ListCreateAPI):
|
||||
'quantity',
|
||||
'location',
|
||||
'reference',
|
||||
'IPN',
|
||||
]
|
||||
|
||||
ordering_field_aliases = {
|
||||
'part': 'stock_item__part__name',
|
||||
'IPN': 'stock_item__part__IPN',
|
||||
'sku': 'stock_item__supplier_part__SKU',
|
||||
'location': 'stock_item__location__name',
|
||||
'reference': 'build_line__bom_item__reference',
|
||||
@ -749,6 +751,7 @@ class BuildItemList(DataExportViewMixin, BulkDeleteMixin, ListCreateAPI):
|
||||
search_fields = [
|
||||
'stock_item__supplier_part__SKU',
|
||||
'stock_item__part__name',
|
||||
'stock_item__part__IPN',
|
||||
'build_line__bom_item__reference',
|
||||
]
|
||||
|
||||
|
Reference in New Issue
Block a user