How can I access all the files from attachment_ids in my method parse_xml?
I want to process the files.
class XMLImporter(models.Model):
_name = 'ia.xml.importer'
_description = 'Helper class to import xml files'
attachment_ids = fields.Many2many('ir.attachment', 'class_ir_attachments_rel', 'class_id', 'attachment_id', 'Attachments')
@api.multi
def parse_xml(self):