Skip to Content
Menu
This question has been flagged
1 Odpoveď
2038 Zobrazenia

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
Zrušiť
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
Zrušiť
Related Posts Replies Zobrazenia Aktivita
2
sep 21
9191
2
máj 25
1284
2
jan 24
2843
0
nov 23
1602
0
sep 23
1384