-
-
Notifications
You must be signed in to change notification settings - Fork 186
Expand file tree
/
Copy pathemail_payroll_employee.xml
More file actions
136 lines (136 loc) · 7.13 KB
/
Copy pathemail_payroll_employee.xml
File metadata and controls
136 lines (136 loc) · 7.13 KB
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
<?xml version="1.0" encoding="utf-8" ?>
<odoo>
<record id="payroll_employee_email_template" model="mail.template">
<field name="name">Payroll Employee</field>
<field name="model_id" ref="hr.model_hr_employee" />
<field name="email_from">{{object.company_id.email}}</field>
<field name="email_to">{{object.work_email}}</field>
<field name="subject">Payroll {{ctx.get('subject')}}</field>
<field name="auto_delete" eval="False" />
<field name="body_html" type="html">
<head />
<body style="margin: 0; padding: 0;">
<table
style="padding:20px;background-color:#ededed; border-collapse:separate"
width="100%"
cellpadding="0"
border="0"
>
<tbody>
<!-- HEADER -->
<tr>
<td style="min-width:590px" align="center">
<table
style="min-width:590px;background-color:#fff; padding:20px; border-collapse:separate"
width="590"
cellpadding="0"
border="0"
>
<tbody>
<tr>
<td
style="text-align:right"
valign="middle"
>
<img
src="/logo.png"
style="padding:0px;margin:0px; height:auto; width:80px"
alt="{{object.company_id.name}}"
/>
</td>
</tr>
<tr>
<td style="text-align:left" valign="middle">
<h2 style="color:rgb(28, 130, 156)">
<font
style="color:rgb(107, 175, 103);"
>
Payroll <t
t-out="ctx.get('subject')"
contenteditable="false"
data-oe-t-inline="true"
/>
</font>
</h2>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
<!-- CONTENT -->
<tr>
<td style="min-width:590px" align="center">
<table
style="min-width:590px;background-color:rgb(255, 255, 255); padding:20px; border-collapse:separate"
width="590"
cellpadding="0"
border="0"
>
<tbody>
<tr>
<td
style="font-family:Arial,Helvetica,sans-serif;color:#555; font-size:14px"
valign="top"
>
<p />
<p>
Hello <t
t-out="object.name"
contenteditable="false"
data-oe-t-inline="true"
/>,
</p>
<br />
<p>
We send you the payroll with the subject
<t
t-out="ctx.get('subject')"
contenteditable="false"
data-oe-t-inline="true"
/>.
<br />
</p>
</td>
</tr>
<tr>
<td
style="font-family:Arial,Helvetica,sans-serif;color:#555; font-size:14px"
valign="top"
>
<br />
</td>
</tr>
<tr>
<td
style="font-family:Arial,Helvetica,sans-serif;color:#555; font-size:14px"
valign="top"
>
<br />
<p />
</td>
</tr>
</tbody>
</table>
</td>
</tr>
<!-- FOOTER -->
<tr>
<td style="min-width:590px" align="center">
<table
style="min-width:590px;background-color:#95ce3f; padding:20px; border-collapse:separate"
width="590"
cellpadding="0"
border="0"
>
<tbody />
</table>
</td>
</tr>
</tbody>
</table>
<p />
</body>
</field>
</record>
</odoo>