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
- Contabilidad
- Inventario
- PoS
- Project
- MRP
Se marcó esta pregunta
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
¿Le interesa esta conversación? ¡Participe en ella!
Cree una cuenta para poder utilizar funciones exclusivas e interactuar con la comunidad.
RegistrarsePublicaciones relacionadas | Respuestas | Vistas | Actividad | |
---|---|---|---|---|
|
2
sept 21
|
9137 | ||
|
2
may 25
|
1234 | ||
|
2
ene 24
|
2791 | ||
|
0
nov 23
|
1582 | ||
|
0
sept 23
|
1365 |
Thanks!