Help with "ir.attachment"

How could I access the files that are already attached, access the names so as not to repeat files?

thanks

Hi,

You have to tell us where you want to access attachment names from. Proteus?

<attachment_object>.name?

Can you get the attachment object?

1 Like

Go to Administration -> Models -> Attachments there you will see all the attachments linked to a record.

An attachment is uniquely linked to a record, so you cannot have multiple records linked to one attachment.

1 Like

Hi, yes proteus. I have been able to find matches with the following line:
Attachment.find([(β€˜name’,’=’,contenido)])