Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
2093 Visualizzazioni

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
Abbandona
Autore

Thanks!

Risposta migliore

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
Abbandona
Post correlati Risposte Visualizzazioni Attività
2
set 21
9259
2
mag 25
1362
2
gen 24
2901
0
nov 23
1650
0
set 23
1434