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:
- सीआरएम
- e-Commerce
- लेखांकन
- इन्वेंटरी
- PoS
- Project
- MRP
This question has been flagged
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
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
2
सित॰ 21
|
9150 | ||
|
2
मई 25
|
1248 | ||
|
2
जन॰ 24
|
2804 | ||
|
0
नव॰ 23
|
1586 | ||
|
0
सित॰ 23
|
1369 |
Thanks!