mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Export full_name for parts
This commit is contained in:
parent
7f5aba423a
commit
194ae49914
@ -58,7 +58,7 @@ class StockItemResource(ModelResource):
|
||||
# Custom manaegrs for ForeignKey fields
|
||||
part = Field(attribute='part', widget=widgets.ForeignKeyWidget(Part))
|
||||
|
||||
part_name = Field(attribute='part__name', readonly=True)
|
||||
part_name = Field(attribute='part__full_ame', readonly=True)
|
||||
|
||||
supplier_part = Field(attribute='supplier_part', widget=widgets.ForeignKeyWidget(SupplierPart))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user