I am trying to wrap up part of a migration task for our process of setting up odoo 13. I would like to be able to import product attachments into odoo. My data comes in two forms, referenced from URLs on my Google Drive and base32 encoded out of our previous ERP PostgreSQL database.
For example, I was hoping I could import attachments the same way I imported product images months ago.
ID, Extra Product Media/Image, Extra Product Media/Name
Product.Template ID, URL, Image Name
I have tried the functionality in Settings>Technical>Database Structure>Attachments. However, While I can import attachments, at least in base32 format, neither the import, nor the uploaded attachments afterwards seem to have a facility for actually "attaching" the file to anything by indicating the Resource Model and Resource ID. I cannot seem to select these fields for import, nor alter them after importing.
I have not yet tried importing the attachmnets to products through the products (module?), however the Product.Template column Main Attachment seems to only export a single file out. I suspect the functionality for importing is the same, though I have not tested yet.
What would the best way to handle this be?