Skip to Content
Menú
This question has been flagged
1 Respondre
2009 Vistes

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
Descartar
Autor

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
Descartar
Related Posts Respostes Vistes Activitat
2
de set. 21
9137
2
de maig 25
1237
2
de gen. 24
2794
0
de nov. 23
1584
0
de set. 23
1367