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
2
Respuestas
3333
Vistas
I did it in write method
You can achieve it by doing the following:
attachment_id = fields.Many2one('ir.attachment', string='Attachment')
attachment_fname = fields.Char('Attachment Filename', related='attachment_id.name')
<field name="attachment_fname" invisible="1"/>
<field name="attachment_id" filename="attachment_fname"/>
¿Le interesa esta conversación? ¡Participe en ella!
Cree una cuenta para poder utilizar funciones exclusivas e interactuar con la comunidad.
InscribirsePublicaciones relacionadas | Respuestas | Vistas | Actividad | |
---|---|---|---|---|
|
0
dic 24
|
715 | ||
How to set attachments to public?
Resuelto
|
|
1
mar 23
|
5791 | |
|
0
oct 21
|
2166 | ||
|
2
may 20
|
11588 | ||
|
2
dic 17
|
3758 |