Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
1 Răspunde
5969 Vizualizări

In a form, all attachments are under the Attachment button. Is it possible to show the attachments in a listview / table in the form?

Imagine profil
Abandonează
Cel mai bun răspuns

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'))])
Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
0
dec. 24
1544
1
mar. 23
6758
2
apr. 22
4220
0
oct. 21
2716
2
mai 20
12294