I am having some trouble importing attachments to Odoo, I can import attachments without problem, but I can't link them to an item. The model for ir.attachments has the res_model and res_id fields which are AFAIK read only, so I can't import a csv to populate those fields.
I have also tried importing through the product.template model but the same happens, attachments are created and linked to the res_model but not the res_id, so they do not appear in item attachments, which seems like a bug to me.
I am using Odoo 10 enterprise.