mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Stock SKU export (#7418)
* Add "choices" field to PartTestTemplate - Will allow validation of "value" field on StockItemTestResult * Run validation against StockItemTestResult * Export SKU in stock item resource
This commit is contained in:
parent
a90b05add5
commit
9f35971db1
@ -180,6 +180,11 @@ class StockItemResource(InvenTreeResource):
|
||||
column_name=_('Supplier Part ID'),
|
||||
widget=widgets.ForeignKeyWidget(SupplierPart),
|
||||
)
|
||||
supplier_part_sku = Field(
|
||||
attribute='supplier_part__SKU',
|
||||
column_name=_('Supplier Part SKU'),
|
||||
readonly=True,
|
||||
)
|
||||
supplier = Field(
|
||||
attribute='supplier_part__supplier__id',
|
||||
column_name=_('Supplier ID'),
|
||||
|
Loading…
Reference in New Issue
Block a user