-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathmail_template.xml
53 lines (53 loc) · 2.64 KB
/
mail_template.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<?xml version="1.0" encoding="utf-8" ?>
<odoo noupdate="1">
<record id="helpdesk_ticket_created_email_template" model="mail.template">
<field name="name">Support Ticket Number</field>
<field name="model_id" ref="helpdesk_mgmt.model_helpdesk_ticket"/>
<field name="email_from">{{ object.team_id.email or object.company_id.partner_id.email or ''}}</field>
<field
name="email_to"
>{{not object.partner_id and object.partner_email or ''}}
</field>
<field name="partner_to">{{object.partner_id.id}}</field>
<field name="reply_to">{{ object.team_id.email or object.company_id.partner_id.email or ''}}</field>
<field
name="lang"
>{{ object.partner_id.lang or ctx.get("lang") or object.company_id.partner_id.lang or object.env.user.lang }}
</field>
<field name="subject">Ticket {{object.number or 'n/a' }}: {{object.name or '' }}</field>
<field name="body_html" type="html">
<div style="margin: 0px; padding: 0px;">
<p style="margin: 0px; padding: 0px; font-size: 13px;">
Dear
<t t-out="object.partner_id.name or object.partner_name or ''"/>
<br/>
<br/>
<p>
Thank you for your report. Your report has been registered under ticket
<t t-out="object.name"/>
and is being processed.
</p>
<p>If there are any questions or uncertainties, please let us know.</p>
Kind regards,
<br/>
<br/>
<p>
This e-mail is intended for the addressee’s eyes only. If you are not the intended recipient,
you are hereby
kindly requested to inform the sender of this. In view of the electronic nature of this
communication,
<t t-out="object.company_id.name"/>
is neither liable for the proper and complete transmission of the information contained therein
nor for any
delay in its receipt. For information about
<t t-out="object.company_id.name"/>
<t t-if="object.company_id.website">
,direct your browser to
<t t-out="object.company_id.website"/>
</t>
</p>
</p>
</div>
</field>
</record>
</odoo>