Hi, i know this is kind of an old post but i would like to know where did you found the binaries for the images, im performing a similar export from odoo 12 and the interface export of images is broken
i used some similar queries to yours in this post but to no avail, there are no images in product_templates or product_product.
after some research i found out that for odoo 12 images are saved in ir_attachement in the field: datas_fname.
so i got this query
Select "id", "res_name", "datas_fname" from ir_attachment WHERE res_model = 'product.template' and "datas_fname" is not null;
and the result is this sample:
https://docs.google.com/spreadsheets/u/7/d/1QR_HTSiYxUXOSl-2nS0MaDY7QHRMbux-43RhbB1eYak/edit?usp=sharing
there are no binaries in this table.
i made:
Select * from ir_attachment WHERE res_model = 'product.template' and res_field = 'image' and 'db_datas' is not null
to check all the fields from the table and got this other data set.
https://docs.google.com/spreadsheets/d/1g1zZrTLu56MU7S5O5nzg-QQtsLa8QaE7jflddnRb9Wo/edit?usp=sharing
where i got: no binaries at all
where di you got the binaries for your export?
kindly thank you very much.