Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
4 Trả lời
5188 Lượt xem

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.


Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Any update?


Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Same problem in odoo 17. Any update?

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Same problem. Any update?

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
3
thg 6 20
4118
1
thg 11 18
9589
11
thg 2 17
63952
2
thg 3 15
11082
4
thg 11 24
11515