Search 1.9 billion lines of Odoo code on GitHub

email_template_qweb

Author: Therp BV, Odoo Community Association (OCA)
License: AGPL-3
Branch: 14.0
Repository: Gabinete-Digital/social
Dependencies: mail
Languages: HTML (367, 38.0%), PO File (384, 39.8%), Python (63, 6.5%), XML (84, 8.7%), and reStructuredText (67, 6.9%)
Other branches: 10.0, 11.0, 12.0, 13.0, 14.0-old, 8.0, and 9.0
Other repositories: 2FM/social, ACCOMODATA-BVBA/social, AITIC/social, AMhadhbi/social, AdriaGForgeFlow/social, Alfa-90/social, BADEP/social, BT-fgarbely/social, BT-scchmid-test/social, BeopenMX/social, Bubbles-IT/social, CB-Gran-Canaria/social, Callino/social, Change2improve/social, ClearCorp/oca-social, CompassionCH/social, Digital5-Odoo/social, Dobtor-OCA/social, DucTruongKomit/social, ERPLibre/social, ForgeFlow/social, Glue-Software-Engineering-AG/social, Gofekra/social, Hasnur/social, ICTSTUDIO/social, ITISAG-OCA/social, Ingeos/social, Jarsa/social, JazziMc/social, Judystudy/social, KasunDA/social, Kiplangatdan/social, KomarovAlea/social, LasLabs/social, MadsackMediaStore/social, MathBenTech/social, MediaJockey/social, NL66278/social, NeatNerdPrime/social, NextERP-Romania/social, Nooka10/social, OCA-MUK/social, OCA/social, ORETEK/social, OpencloudPro/social, QubiQ/social, RLeeOSI/social, Rad0van/social, SDIsl/social, SanteLibre/social, SequarSrl/social, SeuMarco/social, SimoRubi/social, SolutionSeekers/social, StefanRijnhart/social, Studio73/social, Syci-Consulting/social, TDu/social, TRESCLOUD/social, Tecnativa/social, Tonow-c2c/social, Vauxoo/social, VisiionSolucionesTecnologicas/social, VitalPet/social, YogeshMahera-SerpentCS/social, a0c/social, aaltinisik/social, acsone/social, adhoc-dev/social, adolfoeliazat/social, adrienpeiffer/social, agenterp/social, agenterpgmbh/social, agrista/odoo-social, ajaniszewska-dev/social, akretion/social, alexlafalce/social, anderswallenquist/social, anhvu-sg/social, ansinaesmejor/social, antonyrajserpentcs/social, anybox/social, apachesep/social, apertoso/social, apetbiz/social, archetipo/social, aryajimbaran/social, auditum-lko/social, aurestic/social, avoinsystems/social, ayush5198/social, bealdav/social, bishalgit/social, bitroniq/social, brain-tec/social, brainbeanapps/social, camptocamp/social, cedvict/social, celm1990/social, chacatico/social, cocox/social, codewr/social, coopiteasy/social, crnd-inc/social, cunguito/social, dajuayen/social, damcar/social, daramousk/social, ddico/social, denislour/social, dev00007/social, diagramsoftware/social, diegobgl/social, diggy128/social, dndoanh/social, dozymoe/social, dreispt/social, druidoo-dev/social, eLBati/social, eezee-it/social, elmeknouni/social, elvirekemajou/social, emagdalenaC2i/social, ermannognan/social, ernestotejeda/social, eslammohamed13/social, etobella/social, eugentaga/social, exosoftware/oca-social, extrememicro/social, fmdl/social, focusate/oca-social, gab-net/social, gfcapalbo/social, git-service-it-ar/social, grindtildeath/social, gurneyalex/social, haroldtamo/social, hbrunn/server-tools, hbrunn/social, hibou-io/oca-social, hinfo506/social, i-vyshnevska/social, iRichGit/social, igallart/social, iledarn/social, imranissufo/social, inforconseil/social, inspiredbusiness/social, isos/social, jacky82669513/social, jerrodmartin/social, jobiols/oca-social, kevin070982/social, kryskool/social, legalsylvain/social, leonidaspe/social, leonidasthe300/social, lesdekock/social, lincersolucoes/oca-social, logicasoftadmin/social, manuelcalerosolis/social, marcozink/social, marionumza/social, markrobinson85/social, masiunas/social, mavs2011bs/social, mechsoftdigital/social, mgielissen/social, minhyk/social, mjadily/social, modoolar/social, molandtoxx/social, moltisinc/social, mozaik-association/social, mpanarin/social, myceliandre/social, nilshamerlinck/social, niulinlnc/social, noorealam96/social, odoobgorg/OCA-social, odoogap/social, odoonz/social, ontruck/social, open-synergy/social, osfp-Pakistan/social, osiell/social, p-tombez/social, paulius-sladkevicius/social, pegonzalezspesol/social, phucngta/social, popama/social, pscloud/social, publidex/social, redblow/social, redcor/social, rlizana/social, rossasa/social, rsullivan2704/social, rubensben/social, ruuter/social, sadeqamin/social, sanube/social, savoirfairelinux/social, scbrianti/social, semamca35/social, sergiocorato/social, serpentcs-dev1/social, sewisoft/social, shiram/social, simahawk/social, skeller1/social, solarprocurement/social, spitronello/social, sschmid-test-org/social, steingabelgaard/social, sunflowerit/social, sygel-technology/social, tafaRU/social, takinobori/oca-social, takobi-online/social, tansadio/social, tbaden/social, tegin/social, tfossoul/social, thinkopensolutions/oca-social, thinkwelltwd/social, thomaspot/social, tirma-sa/social, tosink/social, tpalan/social, tpxxx/social, tschanzt/social, ursais/social, valmarnet/social, vcloud9ray/social, versada/social, wahhid/social, westlyou/social, x0rzkov/odoo-social, xavidj/social, xcgd/social, xduran/social, xpansa/social, y2gsmith/social, yusniermatos/social, zestsoftware/social, and zmakrelouf/social

<h1 class="title">QWeb for email templates</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/14.0/email_template_qweb"><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-14-0/social-14-0-email_template_qweb"><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/14.0"><img alt="Try me on Runbot" src="https://img.shields.io/badge/runbot-Try%20me-875A7B.png" /></a></p> <p>This module was written to allow you to write email templates in QWeb instead of jinja2. The advantage here is that with QWeb, you can make use of inheritance and the <code>call</code> statement, which allows you to reuse designs and snippets in multiple templates, making your development process simpler. Furthermore, QWeb views are easier to edit with the integrated ACE editor.</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="#other-credits" id="id6">Other credits</a></li> <li><a class="reference internal" href="#maintainers" id="id7">Maintainers</a></li> </ul> </li> </ul> </div> <a name="usage"></a> <h2><a class="toc-backref" href="#id1">Usage</a></h2> <p>To use this module, you need to:</p> <ol class="arabic simple"> <li>Select <cite>QWeb</cite> in the field <cite>Body templating engine</cite></li> <li>Select a QWeb view to be used to render the body field</li> <li>Apart from QWeb's standard variables, you also have access to <code>object</code> and <code>email_template</code>, which are browse records of the current object and the email template in use, respectively.</li> </ol> <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:%20email_template_qweb%0Aversion:%2014.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>Therp BV</li> </ul> <a name="contributors"></a> <h3><a class="toc-backref" href="#id5">Contributors</a></h3> <ul> <li><p class="first">Holger Brunn &lt;<a class="reference external" href="mailto:hbrunn&#64;therp.nl">hbrunn&#64;therp.nl</a>&gt;</p> </li> <li><p class="first">Dave Lasley &lt;<a class="reference external" href="mailto:dave&#64;laslabs.com">dave&#64;laslabs.com</a>&gt;</p> </li> <li><p class="first">Carlos Lopez Mite &lt;<a class="reference external" href="mailto:celm1990&#64;gmail.com">celm1990&#64;gmail.com</a>&gt;</p> </li> <li><p class="first"><a class="reference external" href="https://www.tecnativa.com">Tecnativa</a>:</p> <blockquote> <ul class="simple"> <li>Ernesto Tejeda</li> </ul> </blockquote> </li> <li><p class="first">Thomas Fossoul (<a class="reference external" href="mailto:thomas&#64;niboo.com">thomas&#64;niboo.com</a>)</p> </li> <li><p class="first">Phuc Tran Thanh &lt;<a class="reference external" href="mailto:phuc&#64;trobz.com">phuc&#64;trobz.com</a>&gt;</p> </li> </ul> <a name="other-credits"></a> <h3><a class="toc-backref" href="#id6">Other credits</a></h3> <p>The development of this module has been financially supported by:</p> <ul class="simple"> <li>Camptocamp</li> </ul> <a name="maintainers"></a> <h3><a class="toc-backref" href="#id7">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/14.0/email_template_qweb">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>