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?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- 会計
- 在庫
- PoS
- Project
- MRP
この質問にフラグが付けられました
1
返信
2092
ビュー
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
関連投稿 | 返信 | ビュー | 活動 | |
---|---|---|---|---|
|
2
9月 21
|
9259 | ||
|
2
5月 25
|
1360 | ||
|
2
1月 24
|
2898 | ||
|
0
11月 23
|
1650 | ||
|
0
9月 23
|
1432 |
Thanks!