Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
2030 Представления

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?

Аватар
Отменить
Автор

Thanks!

Лучший ответ

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

Аватар
Отменить
Related Posts Ответы Просмотры Активность
2
сент. 21
9185
2
мая 25
1273
2
янв. 24
2825
0
нояб. 23
1594
0
сент. 23
1377