Ir Attachment Resource Editable

Allow editing the resource ID of attachments

Technical Name:
ir_attachment_ressource_editable
Version:
12.0
License:
Author:
Numigi
Website:
https://kastor.lab.numigi.net/web/image/product.template/1035/image_1920?unique=0a81b40
  • Odoo Version

Conditions générales
Garantie satisfait ou remboursé de 30 jours
Expédition : 2-3 jours ouvrables

Ir Attachment Resource Editable

Context

In vanilla Odoo, attachments bound to a field (including images) are hidden in the list view of attachments.

static/description/field_attachments_hidden.png

If you add a custom filter Resource Field is set, these attachments appear.

static/description/field_attachments_only.png

However, you may not edit the Resource ID.

static/description/attachment_form_resource_id_readonly.png

This prevents you from moving an image from a record to another.

Usage

After installing this module, I go to the list view of attachments.

I notice that attachments bound to a field are displayed.

static/description/all_attachments_shown.png

In form view, I can edit the Resource ID.

static/description/attachment_form_resource_id_editable.png

Contributors