Search 1.9 billion lines of Odoo code on GitHub

email_template_qweb

Author: Therp BV,Odoo Community Association (OCA)
License: AGPL-3
Branch: 9.0
Repository: Gabinete-Digital/social
Dependencies: mail
Languages: PO File (193, 50.5%), Python (74, 19.4%), XML (72, 18.8%), and reStructuredText (43, 11.3%)
Other branches: 10.0, 11.0, 12.0, 13.0, 14.0, 14.0-old, and 8.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

<img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.svg"> <a name="qweb-for-email-templates"></a> <h2>QWeb for email templates</h2> <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.</p> <a name="usage"></a> <h3>Usage</h3> <p>To use this module, you need to:</p> <ul class="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> </ul> <a class="reference external image-reference" href="https://runbot.odoo-community.org/runbot/149/8.0"><img alt="Try me on Runbot" src="https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas" /></a> <p>Demo data contains an example on how to separate corporate identity from a template's content.</p> <p>For further information, please visit:</p> <ul class="simple"> <li><a class="reference external" href="https://www.odoo.com/forum/help-1">https://www.odoo.com/forum/help-1</a></li> </ul> <a name="bug-tracker"></a> <h3>Bug Tracker</h3> <p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/server-tools/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 feedback <a class="reference external" href="https://github.com/OCA/server-tools/issues/new?body=module:%20email_template_qweb%0Aversion:%209.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">here</a>.</p> <a name="credits"></a> <h3>Credits</h3> <a name="contributors"></a> <h4>Contributors</h4> <ul class="simple"> <li>Holger Brunn &lt;<a class="reference external" href="mailto:hbrunn&#64;therp.nl">hbrunn&#64;therp.nl</a>&gt;</li> <li>Dave Lasley &lt;<a class="reference external" href="mailto:dave&#64;laslabs.com">dave&#64;laslabs.com</a>&gt;</li> </ul> <p>Do not contact contributors directly about help with questions or problems concerning this addon, but use the <a class="reference external" href="https://www.odoo.com/forum/help-1">forum</a>, the <a class="reference external" href="mailto:community&#64;mail.odoo.com">community mailing list</a>, or the <a class="reference external" href="https://odoo-community.org/groups">appropriate specialized mailinglist</a> for help, and the bug tracker linked in <a class="reference internal" href="#bug-tracker">Bug Tracker</a> above for technical issues.</p> <a name="maintainer"></a> <h4>Maintainer</h4> <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>This module is maintained by the OCA.</p> <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>To contribute to this module, please visit <a class="reference external" href="https://odoo-community.org">https://odoo-community.org</a>.</p>