Community mailing list archives
Re: Adding attachments in one2many line item fashionby
To treat binary field as attachment and store based on Document Management configuration we need to make it attachment field and link to attachment object.
Many2one with ir.attachment will work.
We can override name get method for the field and display file name too.