Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
2017 Widoki

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?

Awatar
Odrzuć
Autor

Thanks!

Najlepsza odpowiedź

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

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
2
wrz 21
9152
2
maj 25
1252
2
sty 24
2804
0
lis 23
1586
0
wrz 23
1369