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
- Boekhouding
- Voorraad
- PoS
- Project
- MRP
Deze vraag is gerapporteerd
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
Geniet je van het gesprek? Blijf niet alleen lezen, doe ook mee!
Maak vandaag nog een account aan om te profiteren van exclusieve functies en deel uit te maken van onze geweldige community!
AanmeldenGerelateerde posts | Antwoorden | Weergaven | Activiteit | |
---|---|---|---|---|
|
2
sep. 21
|
9162 | ||
|
2
mei 25
|
1263 | ||
|
2
jan. 24
|
2818 | ||
|
0
nov. 23
|
1588 | ||
|
0
sep. 23
|
1374 |
Thanks!