Mail Attachment XML Preview
mail_attachment_xml_preview · OCA/mail
-
Security25/25No findings
-
Activity25/25Last human commit 4 months ago
-
Required by5/250 modules depend on it
-
Maturity5/25In 1 Odoo series since 17.0
Heuristic over the facts below, not an audit · How it's computed
Description
Preview XML attachments as a collapsible tree instead of a wall of text.
Odoo stores XML attachments with the text/plain mimetype for any user
without write access on views, so the standard file viewer renders them as
raw text. Machine-generated XML (electronic invoices such as CFDI or UBL,
bank statements, EDI messages) usually comes in a single line, which makes
that preview unreadable.
This module renders XML attachments with their hierarchy: indented nodes, highlighted tags, attributes and values, and every branch can be collapsed or expanded. Everything happens in the browser, no conversion service and no extra software on the server.
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 0
No views found for this module.
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 0
No models found for this module.