Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
1 Responder
2053 Visualizações

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

Thanks!

Melhor resposta

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
Cancelar
Publicações relacionadas Respostas Visualizações Atividade
2
set. 21
9200
2
mai. 25
1318
2
jan. 24
2857
0
nov. 23
1617
0
set. 23
1394