Allow our users to modify mail template more easily - make the list accessible from the settings - give them a link to update relevant views to update header/footer - make the list and form of templates more readable - add a description on templates, allowing to describe their usage In order to better filter templates, a new category field is added that is computed based on active flag, description being set and the template having an xml ID. Master templates are active, with a description and an xml ID. Update master data to add description on some templates. task-2944770 closes odoo/odoo#101730 X-original-commit: dfa867343ee8842f3f127ac62584fd471b41dde1 Related: odoo/enterprise#32079 Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
32 lines
1.6 KiB
XML
32 lines
1.6 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo><data noupdate="1">
|
|
<record id="mail_template_data_track_confirmation" model="mail.template">
|
|
<field name="name">Event: Track Confirmation</field>
|
|
<field name="model_id" ref="website_event_track.model_event_track"/>
|
|
<field name="subject">Confirmation of {{ object.name }}</field>
|
|
<field name="use_default_to" eval="True"/>
|
|
<field name="description">Sent to speakers whose track proposal is accepted (set the template on the right stage)</field>
|
|
<field name="body_html" type="html">
|
|
<div>
|
|
Dear <t t-out="object.partner_id.name or object.partner_name or ''">Brandon Freeman</t><br/>
|
|
We are pleased to inform you that your proposal <t t-out="object.name or ''">What This Event Is All About</t> has been accepted and confirmed for the event <t t-out="object.event_id.name or ''">OpenWood Collection Online Reveal</t>.
|
|
<br/>
|
|
You will find more details here:
|
|
<div style="margin: 16px 0px 16px 0px;">
|
|
<a t-attf-href="/event/{{ object.event_id.id }}/track/{{ object.id }}"
|
|
style="padding: 8px 16px 8px 16px; font-size: 14px; color: #FFFFFF; text-decoration: none !important; background-color: #875A7B; border: 0px solid #875A7B; border-radius:3px">
|
|
View Talk
|
|
</a>
|
|
</div>
|
|
<br/><br/>
|
|
Thank you,
|
|
<t t-if="user.signature">
|
|
<br />
|
|
<t t-out="user.signature or ''">--<br/>Mitchell Admin</t>
|
|
</t>
|
|
</div></field>
|
|
<field name="lang">{{ object.partner_id.lang }}</field>
|
|
<field name="auto_delete" eval="True"/>
|
|
</record>
|
|
</data></odoo>
|