跳至内容
菜单
此问题已终结
1 回复
2018 查看

Does anyone know if it's possible to remove the link from a document to a Product in the Documents module but keep the document in Documents?

形象
丢弃
编写者

Thanks!

最佳答案

Hi,

The fields Resource Model and Resource ID in model ir.attchment is what links the attachment to the corresponding record. So you just need to remove data from those fields in order to remove the link between the record and attachment, but keep the attachment in the database.

You can access the ir.attachment model from Technical -> Attachments, after enabling debug mode.

Regards

形象
丢弃
相关帖文 回复 查看 活动
2
9月 21
9153
2
5月 25
1253
2
1月 24
2805
0
11月 23
1586
0
9月 23
1369