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
- Księgowość
- Zapasy
- PoS
- Project
- MRP
To pytanie dostało ostrzeżenie
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
Podoba Ci się ta dyskusja? Dołącz do niej!
Stwórz konto dzisiaj, aby cieszyć się ekskluzywnymi funkcjami i wchodzić w interakcje z naszą wspaniałą społecznością!
Zarejestruj sięPowiązane posty | Odpowiedzi | Widoki | Czynność | |
---|---|---|---|---|
|
2
wrz 21
|
9152 | ||
|
2
maj 25
|
1252 | ||
|
2
sty 24
|
2804 | ||
|
0
lis 23
|
1586 | ||
|
0
wrz 23
|
1369 |
Thanks!