Mail Preview
mail_layout_preview · OCA/mail
OCA/social 13.0–17.0 → OCA/mail 18.0
Health
61/100
fair
-
Security25/25No findings
-
Activity6/25Last human commit 25 months ago
-
Required by5/250 modules depend on it
-
Maturity25/25In 6 Odoo series since 13.0
Heuristic over the facts below, not an audit · How it's computed
Required by
0
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.04 MB
Module directory on disk
Code analysis
0 migration notes
1 model
2 views
2 HTTP endpoints
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.
Dependencies
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- None
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 2
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
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) | Handler | Auth | Type | Methods | Flags |
|---|---|---|---|---|---|
/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_urlCharcompute='_compute_layout_preview_url'string='Full layout preview'
No public methods.
Loading…
Loading…
Loading…
Loading…
Loading…