Search 1.9 billion lines of Odoo code on GitHub

mail_layout_preview

Author: Camptocamp SA,Odoo Community Association (OCA)
License: AGPL-3
Branch: 13.0-mail_template_multi_attachment
Repository: acsone/social
Dependencies: mail, and web
Languages: HTML (346, 58.5%), Python (126, 21.3%), XML (66, 11.2%), and reStructuredText (53, 9.0%)
Other branches: 13.0, 13.0-mig-mail_as_letter, 13.0-slg_master, 13.0-wpu_master, 14.0, 14.0-mail_optional_follower_notification-sbj, 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

<h1 class="title">Mail Preview</h1> <p><a class="reference external" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external" href="https://github.com/OCA/social/tree/13.0/mail_layout_preview"><img alt="OCA/social" src="https://img.shields.io/badge/github-OCA%2Fsocial-lightgray.png?logo=github" /></a> <a class="reference external" href="https://translation.odoo-community.org/projects/social-13-0/social-13-0-mail_layout_preview"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external" href="https://runbot.odoo-community.org/runbot/205/13.0"><img alt="Try me on Runbot" src="https://img.shields.io/badge/runbot-Try%20me-875A7B.png" /></a></p> <p>The purpose of this module is to help development of email templates allowing to render the full layout preview of each of them.</p> <p>Odoo already allows you do preview emails but they are wrapped into Odoo backend theme.</p> <p>NOTE: to make work properly your emails it's strongly recommended to use <cite>mail_inline_css</cite> to include all styles in the body of the email.</p> <p><strong>Table of contents</strong></p> <div class="contents local topic" id="contents"> <ul class="simple"> <li><a class="reference internal" href="#usage" id="id1">Usage</a></li> <li><a class="reference internal" href="#bug-tracker" id="id2">Bug Tracker</a></li> <li><a class="reference internal" href="#credits" id="id3">Credits</a><ul> <li><a class="reference internal" href="#authors" id="id4">Authors</a></li> <li><a class="reference internal" href="#contributors" id="id5">Contributors</a></li> <li><a class="reference internal" href="#maintainers" id="id6">Maintainers</a></li> </ul> </li> </ul> </div> <a name="usage"></a> <h2><a class="toc-backref" href="#id1">Usage</a></h2> <ul class="simple"> <li>Go to a template and click on the preview button</li> <li>Select desired params and click on &quot;Full layout preview&quot; link</li> <li>You'll get to the preview</li> </ul> <p>As a developer, you can see a list of all templates for a model by going to:</p> <blockquote> /email-preview/$model.name</blockquote> <p>You'll get a list of all the templates. Follow the instructions there on how to use the links.</p> <a name="bug-tracker"></a> <h2><a class="toc-backref" href="#id2">Bug Tracker</a></h2> <p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/social/issues">GitHub Issues</a>. 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 <a class="reference external" href="https://github.com/OCA/social/issues/new?body=module:%20mail_layout_preview%0Aversion:%2013.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p> <p>Do not contact contributors directly about support or help with technical issues.</p> <a name="credits"></a> <h2><a class="toc-backref" href="#id3">Credits</a></h2> <a name="authors"></a> <h3><a class="toc-backref" href="#id4">Authors</a></h3> <ul class="simple"> <li>Camptocamp SA</li> </ul> <a name="contributors"></a> <h3><a class="toc-backref" href="#id5">Contributors</a></h3> <ul class="simple"> <li>Simone Orsi &lt;<a class="reference external" href="mailto:simahawk&#64;gmail.com">simahawk&#64;gmail.com</a>&gt;</li> </ul> <a name="maintainers"></a> <h3><a class="toc-backref" href="#id6">Maintainers</a></h3> <p>This module is maintained by the OCA.</p> <a class="reference external image-reference" href="https://odoo-community.org"><img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" /></a> <p>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.</p> <p>This module is part of the <a class="reference external" href="https://github.com/OCA/social/tree/13.0/mail_layout_preview">OCA/social</a> project on GitHub.</p> <p>You are welcome to contribute. To learn how please visit <a class="reference external" href="https://odoo-community.org/page/Contribute">https://odoo-community.org/page/Contribute</a>.</p>