Skip to content

Migrate images and attachments#3

Open
ServiusHack wants to merge 1 commit intorgilham:masterfrom
ServiusHack:attachments
Open

Migrate images and attachments#3
ServiusHack wants to merge 1 commit intorgilham:masterfrom
ServiusHack:attachments

Conversation

@ServiusHack
Copy link

The first image attachment will be used as the image of the part. All
other attachments will be uploaded as attachments to that part.

The InvenTree python module requires a local file to obtain the
filename, so each file is only downloaded when needed into a temporary
directory and removed afterwards.

I've put this in a separate PR as the implementation is a bit more involved.
So if some discussions are needed at least the other changes can be merged.

The first image attachment will be used as the image of the part. All
other attachments will be uploaded as attachments to that part.

The InvenTree python module requires a local file to obtain the
filename, so each file is only downloaded when needed into a temporary
directory and removed afterwards.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant