Skip to Content
Menu

Advance Many2many Binary Widget

by
Odoo

6.00

v 18.0 Third Party
Availability
Odoo Online
Odoo.sh
On Premise
Lines of code 152
Technical Name cbu_advance_m2m_binary_widget
LicenseLGPL-3
Websitehttps://codebyus.net/
Versions 16.0 18.0
You bought this module and need support? Click here!
Availability
Odoo Online
Odoo.sh
On Premise
Lines of code 152
Technical Name cbu_advance_m2m_binary_widget
LicenseLGPL-3
Websitehttps://codebyus.net/
Versions 16.0 18.0

Advanced Many2many Binary Widget

A widget to handle attachment uploads in many2many fields with granular control over permissions.

Features


  • Manage file uploads through Many2many fields
  • Control download permissions
  • Control delete permissions
  • Control preview permissions
  • Integrated PDF viewer with restricted functionality

Implementation


This widget is used to manage file uploads in many2many fields with fine-grained control over permissions.

Basic Usage

<field name="attachment_ids" widget="advance_m2m_binary_widget" />

Restrict Download

<field name="attachment_ids" widget="advance_m2m_binary_widget" options="{'download': false}" />

Restrict Delete

<field name="attachment_ids" widget="advance_m2m_binary_widget" options="{'can_remove': false}" />

Confirm Delete

<field name="attachment_ids" widget="advance_m2m_binary_widget" options="{'can_remove': true, 'confirm_remove': true}" />

Restrict Preview

<field name="attachment_ids" widget="advance_m2m_binary_widget" options="{'can_open': false}" />

Full Restriction (download, delete, preview)

<field name="attachment_ids" widget="advance_m2m_binary_widget" options="{'download': false, 'can_remove': false, 'can_open': false}" />

Screenshots


Normal Many2many widget

Widget Preview

Delete restricted widget

Widget Preview

Download restricted widget

Widget Preview

Confirmation widget

Widget Preview

View of an opened PDF file

Widget Preview

Credits


Role Name
Author CodeByUs
License LGPL-3.0-or-later
Icon Custom-generated (DALL·E + Odoo 18-style)

Need help?

Contact us for support or implementation assistance.

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 or have a question related to your purchase, please use the support page.