Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
1 Beantwoorden
5957 Weergaven

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

Avatar
Annuleer
Beste antwoord

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'))])
Avatar
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
0
dec. 24
1540
1
mrt. 23
6754
2
apr. 22
4207
0
okt. 21
2708
2
mei 20
12286