Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
4 Odpovědi
5172 Zobrazení

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
Zrušit
Nejlepší odpověď

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
Zrušit
Nejlepší odpověď

Any update?


Avatar
Zrušit
Nejlepší odpověď

Same problem in odoo 17. Any update?

Avatar
Zrušit
Nejlepší odpověď

Same problem. Any update?

Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
3
čvn 20
4101
1
lis 18
9568
11
úno 17
63928
2
bře 15
11046
4
lis 24
11484