Skip to Content
Menú
This question has been flagged
4 Respostes
5163 Vistes

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.


Avatar
Descartar
Best Answer

In that case first export data from template with id and then update with image and upload in 
attachment  menu and that id pass as res_id and res_model same for all 
that's way you can try

Thanks

Avatar
Descartar
Best Answer

Any update?


Avatar
Descartar
Best Answer

Same problem in odoo 17. Any update?

Avatar
Descartar
Best Answer

Same problem. Any update?

Avatar
Descartar
Related Posts Respostes Vistes Activitat
3
de juny 20
4096
1
de nov. 18
9561
11
de febr. 17
63920
2
de març 15
11044
4
de nov. 24
11475