Commit Graph

2 Commits

Author SHA1 Message Date
Pedro M. Baeza
54f8d34df9 [FIX] document_url: Change mimetype only if type=url
Other modules like web_pwa_oca uses url field for storing an indexed
path for later being searched in the controller, so let's restrict the
mimetype change if both url and type=url is set.
2025-05-08 10:11:08 +05:30
Víctor Martínez
620aac5041 [IMP] document_url: Visual and functional improvements in UI.
Define the add attachment and add URL buttons on the same line.
Allow downloading of url type attachments by clicking on the icon or the name.
Define the name of the url type attachments as links (allows to open it in a new tab).
Hide the download button for url attachments.
Force to set mimetype to "application/link" for url attachments.
Displays a link icon for url attachments.
TT30263
2025-05-08 10:11:08 +05:30