Im using Odoo 12. I have a many2many field which I am using for uploading documents.
hyperlinknew = fields.Many2many(comodel_name="ir.attachment", string="New Hyperlink")
I want to search based on attachments name. I made it work for only one attachment, but when i have many attachment it doesnt seem to be working. How can i do it?