Skip to Content
Menu

Draggable M2M Attachment Preview

by
Odoo
v 17.0 Third Party 42
Download for v 17.0 Deploy on Odoo.sh
Availability
Odoo Online
Odoo.sh
On Premise
Lines of code 478
Technical Name draggable_m2m_attachment_preview
LicenseLGPL-3
You bought this module and need support? Click here!
Availability
Odoo Online
Odoo.sh
On Premise
Lines of code 478
Technical Name draggable_m2m_attachment_preview
LicenseLGPL-3

M2M Attachment Field Widget for Odoo

This M2M Attachment field widget is designed for use in your Odoo application. It allows users to attach multiple files to a record by dragging and dropping them into the field. The selected files are then stored in the field for later use, and users can preview the attachments (img and PDF types) directly within the field.

The widget is linked to a Many2many field connect with ir.attachmentmodel with the widget property set to draggable_m2m_attachment_field.

How the Draggable M2M Attachment Field Works:

  1. Define a Many2many field in your Odoo model, linking it to the ir.attachment model.
  2. Add the attribute widget="draggable_m2m_attachment_field" to the Many2many field in your form view.

Please log in to comment on this module

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author, please use the developer contact information. They can usually be found in the description.
Please choose a rating from 1 to 5 for this module.