Repository
OCA/mail · module folder · Try on Runboat
Module version
1.0.0
Category
Uncategorized
Folder size
0.04 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/mail
Last tracking update
2026-08-07 08:42:57
Authors
Camptocamp, Odoo Community Association (OCA)
Maintainers
Camptocamp, Odoo Community Association (OCA)
Committers
Weblate, OCA-git-bot, oca-ci, Khôi (Kiên Kim)
Odoo dependencies
odoo/odoo:
- web
- bus
Python dependencies
None
System dependencies
None
Required by
None
Description
The purpose of this module is to help development of email templates
allowing to render the full layout preview of each of them.

Odoo already allows you do preview emails but they are wrapped into Odoo
backend theme.

NOTE: to make work properly your emails it's strongly recommended to use
mail_inline_css to include all styles in the body of the email.

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
email_template_preview_form mail.template.preview form Inherits mail.mail_template_preview_view_form
email_templates_list email_templates_list ir.ui.view qweb New
HTTP endpoints (2)
Route(s)HandlerAuthTypeMethodsFlags
/email-preview/<string:model>/<string:templ_id>/<int:rec_id> Preview.preview user http ALL website
/email-preview/<string:model> Preview.template_list user http ALL website
Models touched (1)

New fields (1)
  • layout_preview_url Char
    compute='_compute_layout_preview_url' string='Full layout preview'
Public methods (0)

No public methods.

Loading…

Loading…

Loading…

Loading…

Loading…

Status
Open migration PR — not merged yet for this version
CI status
checks failing
Open since
127 days ago
Last activity
127 days ago
Repository
OCA/mail
Pull request
[19.0][MIG] mail_layout_preview: Migration to 19.0 (#181)