Ir al contenido
Menú
Se marcó esta pregunta
4 Respuestas
5161 Vistas

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
Mejor respuesta

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
Mejor respuesta

Any update?


Avatar
Descartar
Mejor respuesta

Same problem in odoo 17. Any update?

Avatar
Descartar
Mejor respuesta

Same problem. Any update?

Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
3
jun 20
4096
1
nov 18
9559
11
feb 17
63919
2
mar 15
11044
4
nov 24
11474