跳至內容
選單
此問題已被標幟
1 回覆
2075 瀏覽次數

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
9215
2
5月 25
1336
2
1月 24
2873
0
11月 23
1636
0
9月 23
1405