I have created field like <field name="attachment_ids" widget="many2many_binary"/> in xml file
what i should write in py file for many2many_binary relation inside terms
'attachment_ids': fields.many2many('ir.attachment', 'message','message_id', 'attachment_id', 'Attachments'),
can any one plz explain total structure of py file of this in depth