mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-17 04:25:42 +00:00
[PUI] Build test results (#7777)
* Skeleton for "test results" panel on build detail page * Generate table columns based on test templates * Fill out test result table in build panel * Fix for form submission with files attached - Better determination of "hasFiles" - Ignore undefined values * Add modal form to create a new test result * Add button for creating a new test result * Fix for build output table * Add extra API filtering options to BuildLine API endpoint * Improve table rendering * Adjust form fields * Account for multiple test results * Add "location" column * Docs updates * playwright tests
This commit is contained in:
@ -359,6 +359,8 @@ class BuildLineList(BuildLineEndpoint, DataExportViewMixin, ListCreateAPI):
|
||||
'unit_quantity',
|
||||
'available_stock',
|
||||
'trackable',
|
||||
'allow_variants',
|
||||
'inherited',
|
||||
]
|
||||
|
||||
ordering_field_aliases = {
|
||||
@ -368,6 +370,8 @@ class BuildLineList(BuildLineEndpoint, DataExportViewMixin, ListCreateAPI):
|
||||
'consumable': 'bom_item__consumable',
|
||||
'optional': 'bom_item__optional',
|
||||
'trackable': 'bom_item__sub_part__trackable',
|
||||
'allow_variants': 'bom_item__allow_variants',
|
||||
'inherited': 'bom_item__inherited',
|
||||
}
|
||||
|
||||
search_fields = [
|
||||
|
Reference in New Issue
Block a user