Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
2333 Zobrazení

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šit
Autor

Thanks!

Nejlepší odpověď

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šit
Related Posts Odpovědi Zobrazení Aktivita
2
zář 21
9565
2
kvě 25
1933
2
led 24
3395
0
lis 23
2063
0
zář 23
1851