Kindly assist me on getting a preview on Many2many field to ir.attachment
fields.Many2many('ir.attachment', 'attachment_rel', 'pro_id', 'attach_id', string="Attached File 1")
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
Kindly assist me on getting a preview on Many2many field to ir.attachment
fields.Many2many('ir.attachment', 'attachment_rel', 'pro_id', 'attach_id', string="Attached File 1")
kiran k have you done it bro ?
py
attachment = fields.Many2many('ir.attachment','attachment_rel','pro_id','attach_id', string='Attachments',)
xml
<field name='attachment' widget='many2many_binary' string='Add Attachments'/>
Thanks for the reply.
But many2many_binary widget, I cannot preview the attached file..I need a preview
Maak vandaag nog een account aan om te profiteren van exclusieve functies en deel uit te maken van onze geweldige community!
Aanmelden
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.