mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-17 04:25:42 +00:00
Import fix for StockLocation (#4601)
* Import fix for StockLocation - Mark "items" field as readonly * Enforce integer widget for ID fields * Re-add missing field
This commit is contained in:
@ -28,7 +28,7 @@ class BuildResource(InvenTreeResource):
|
||||
'metadata',
|
||||
]
|
||||
|
||||
id = Field(attribute='pk')
|
||||
id = Field(attribute='pk', widget=widgets.IntegerWidget())
|
||||
|
||||
reference = Field(attribute='reference')
|
||||
|
||||
|
Reference in New Issue
Block a user