Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate images and attachments #3

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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