Skip to Content
Menu
This question has been flagged
1 Reply
2016 Views

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?

Avatar
Discard
Author

Thanks!

Best Answer

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

Avatar
Discard
Related Posts Replies Views Activity
2
Sep 21
9150
2
May 25
1250
2
Jan 24
2804
0
Nov 23
1586
0
Sep 23
1369