Skip to Content
Menu

Attachment widget

by
Odoo

11.04

v 16.0 Third Party
Availability
Odoo Online
Odoo.sh
On Premise
Lines of code 290
Technical Name attachment_widget
LicenseLGPL-3
Websitehttp://
You bought this module and need support? Click here!

📎 Attachment Widget

Autor: Robins.s.a.

Versión: 16.01

Licencia: LGPL-3

Website: No especificado

📝 Descripción

Este módulo proporciona un widget personalizado para previsualizar documentos adjuntos directamente en las vistas form y tree de Odoo, mejorando la experiencia del usuario al manejar archivos.

🔧 Cómo utilizar el widget preview_attach

Para aplicar este widget en un campo binario, puedes usar el siguiente ejemplo en tu vista XML:

<field name="adjunto_pdf" string="Documentos Adjunto" filename="document_fname" widget="preview_attach" />
<field name="document_fname" invisible="1" />

Este ejemplo permite mostrar una vista previa del documento adjunto tanto en la vista de formulario como en la lista (tree), siempre que el archivo esté disponible.

⚙️ Dependencias

  • base

🚀 Instalación

  1. Ubica el módulo en tu carpeta personalizada de addons.
  2. Asegúrate de que esté incluida en el
  3. Reinicia Odoo y actualiza la lista de aplicaciones.
  4. Instala el módulo desde el backend.

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.