mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Allow import of part images (#6513)
- Remove "readonly" attribute from image field - Ref: https://github.com/inventree/InvenTree/issues/6511
This commit is contained in:
parent
5f3932b7e1
commit
7dab02555d
@ -57,7 +57,7 @@ class PartResource(InvenTreeResource):
|
|||||||
attribute='units', column_name=_('Units'), widget=widgets.CharWidget()
|
attribute='units', column_name=_('Units'), widget=widgets.CharWidget()
|
||||||
)
|
)
|
||||||
notes = Field(attribute='notes', column_name=_('Notes'))
|
notes = Field(attribute='notes', column_name=_('Notes'))
|
||||||
image = Field(attribute='image', column_name=_('Part Image'), readonly=True)
|
image = Field(attribute='image', column_name=_('Part Image'))
|
||||||
category = Field(
|
category = Field(
|
||||||
attribute='category',
|
attribute='category',
|
||||||
column_name=_('Category ID'),
|
column_name=_('Category ID'),
|
||||||
|
Loading…
Reference in New Issue
Block a user