In the custom module odoo version 7 Form view added many2many attachment_ids :-
Example
'attachment_ids': fields.many2many('ir.attachment', 'sample_ir_attachments_rel', 'sample_id', 'attachment_id','Attachments'),
<field name="attachment_ids" widget="many2many_binary"/>
When deleting document in a many2many field with widget="many2many_binary" its still shows in the form view and attachemnt not deleted in database. How to fix this issue in version 7?. If already fixed please give me the File changes difference.
In Openerp version 7 is any other custom widget code available for Attach Files? (more than one file). Default many2many_binary issues to delete attachment and view delete icon.