Search 1.8 billion lines of Odoo code on GitHub

mail_layout_preview

Author: Camptocamp SA,Odoo Community Association (OCA)
License: AGPL-3
Branch: 14.0-mail_optional_follower_notification-sbj
Repository: acsone/social
Dependencies: mail, and web
Languages: HTML (355, 58.2%), Python (128, 21.0%), XML (66, 10.8%), and reStructuredText (61, 10.0%)
Other branches: 13.0, 13.0-mail_template_multi_attachment, 13.0-mig-mail_as_letter, 13.0-slg_master, 13.0-wpu_master, 14.0, 14.0-mig-mail_optional_autofollow, 14.0-mig-mail_template_multi_attachment, and oca-port-pr-598-from-13.0-to-14.0
Other repositories: Change2improve/social, Digital5-Odoo/social, Dobtor-OCA/social, ForgeFlow/social, Gabinete-Digital/social, Jarsa/social, NeatNerdPrime/social, NextERP-Romania/social, OCA/social, Rad0van/social, SeuMarco/social, StefanRijnhart/social, Studio73/social, TRESCLOUD/social, Tecnativa/social, Vauxoo/social, adhoc-dev/social, agrista/odoo-social, akretion/social, anhvu-sg/social, aurestic/social, brain-tec/social, camptocamp/social, coopiteasy/social, emagdalenaC2i/social, focusate/oca-social, grindtildeath/social, hbrunn/social, hibou-io/oca-social, mozaik-association/social, nilshamerlinck/social, pegonzalezspesol/social, skeller1/social, sunflowerit/social, sygel-technology/social, tafaRU/social, tegin/social, ursais/social, and versada/social

Mail Preview

Beta License: AGPL-3 OCA/social Translate me on Weblate Try me on Runbot

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.

Table of contents

Usage

  • Go to a template and click on the preview button
  • Select desired params and click on "Full layout preview" link
  • You'll get to the preview

As a developer, you can see a list of all templates for a model by going to:

/email-preview/$model.name

You'll get a list of all the templates. Follow the instructions there on how to use the links.

Bug Tracker

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us smashing it by providing a detailed and welcomed feedback.

Do not contact contributors directly about support or help with technical issues.

Credits

Authors

  • Camptocamp SA

Contributors

Other credits

The development of this module has been financially supported by:

  • Camptocamp

Maintainers

This module is maintained by the OCA.

Odoo Community Association

OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

This module is part of the OCA/social project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.