Toggle navigation

Mail Preview

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

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 to smash it by providing a detailed and welcomed feedback.

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

Credits

Authors

  • Camptocamp

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.