In a form, all attachments are under the Attachment button. Is it possible to show the attachments in a listview / table in the form?
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
1
Responder
5950
Vistas
Hi Mario Gielissen
You could do it with a computed m2m field that retrieve the attachments using this domain:
self.env['ir.attachment'].search([('res_model', '=', self._name), ('res_id', '=', self.id), ('type', 'in', ('binary', 'url'))])
¿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 | |
---|---|---|---|---|
|
0
dic 24
|
1539 | ||
How to set attachments to public?
Resuelto
|
|
1
mar 23
|
6754 | |
|
2
abr 22
|
4205 | ||
|
0
oct 21
|
2706 | ||
|
2
may 20
|
12285 |