|
39 | 39 | <field name="auto_delete" eval="False" /> |
40 | 40 | <field name="lang">{{object.partner_id.lang}}</field> |
41 | 41 | <field name="body_html" type="html"> |
42 | | - <table |
43 | | - border="0" |
44 | | - width="100%" |
45 | | - cellpadding="0" |
46 | | - bgcolor="#ededed" |
47 | | - style="padding: 20px; background-color: #ededed; border-collapse:separate;" |
48 | | - > |
49 | | - <tbody> |
50 | | - <!-- HEADER --> |
51 | | - <tr> |
52 | | - <td align="center" style="min-width: 590px;"> |
53 | | - <table |
54 | | - width="590" |
55 | | - border="0" |
56 | | - cellpadding="0" |
57 | | - bgcolor="#875A7B" |
58 | | - style="min-width: 590px; background-color: rgb(135,90,123); padding: 20px; border-collapse:separate;" |
59 | | - > |
60 | | - <tr> |
61 | | - <td valign="middle" align="right"> |
62 | | - <img |
63 | | - t-att-src="'/logo.png?company=%s' % object.company_id.id" |
64 | | - style="padding: 0px; margin: 0px; height: auto; width: 80px;" |
65 | | - t-att-alt="'%s' % object.company_id.name" |
66 | | - /> |
67 | | - </td> |
68 | | - </tr> |
69 | | - </table> |
70 | | - </td> |
71 | | - </tr> |
72 | | - <!-- CONTENT --> |
73 | | - <tr> |
74 | | - <td align="center" style="min-width: 590px;"> |
75 | | - <table |
76 | | - width="590" |
77 | | - border="0" |
78 | | - cellpadding="0" |
79 | | - bgcolor="#ffffff" |
80 | | - style="min-width: 590px; background-color: rgb(255, 255, 255); padding: 20px; border-collapse:separate;" |
81 | | - > |
82 | | - <tbody> |
83 | | - <td |
84 | | - valign="top" |
85 | | - style="font-family:Arial,Helvetica,sans-serif; color: #555; font-size: 14px;" |
86 | | - > |
87 | | - <p>Hello <t |
88 | | - t-out="object.user_id.name" |
89 | | - />,</p> |
90 | | - <p>The ticket "<t |
91 | | - t-out="object.display_name" |
92 | | - />" has been closed.</p> |
93 | | - </td> |
94 | | - </tbody> |
95 | | - </table> |
96 | | - </td> |
97 | | - </tr> |
98 | | - <!-- FOOTER --> |
99 | | - <tr> |
100 | | - <td align="center" style="min-width: 590px;"> |
101 | | - <table |
102 | | - width="590" |
103 | | - border="0" |
104 | | - cellpadding="0" |
105 | | - bgcolor="#875A7B" |
106 | | - style="min-width: 590px; background-color: rgb(135,90,123); padding: 20px; border-collapse:separate;" |
107 | | - > |
108 | | - <tr> |
109 | | - <td |
110 | | - valign="middle" |
111 | | - align="left" |
112 | | - style="color: #fff; padding-top: 10px; padding-bottom: 10px; font-size: 12px;" |
113 | | - > |
114 | | - <t t-out="object.company_id.phone" /> |
115 | | - </td> |
116 | | - <td |
117 | | - valign="middle" |
118 | | - align="left" |
119 | | - style="color: #fff; padding-top: 10px; padding-bottom: 10px; font-size: 12px;" |
120 | | - > |
121 | | - <t t-out="object.company_id.email" /> |
122 | | - </td> |
123 | | - <td |
124 | | - valign="middle" |
125 | | - align="left" |
126 | | - style="color: #fff; padding-top: 10px; padding-bottom: 10px; font-size: 12px;" |
127 | | - > |
128 | | - <t t-out="object.company_id.website" /> |
129 | | - </td> |
130 | | - </tr> |
131 | | - </table> |
132 | | - </td> |
133 | | - </tr> |
134 | | - </tbody> |
135 | | - </table> |
| 42 | + <p>Hello <t t-out="object.user_id.name" />,</p> |
| 43 | + <p>The ticket <t t-out="object.display_name" /> has been closed.</p> |
136 | 44 | </field> |
137 | 45 | </record> |
138 | 46 | <record id="changed_stage_template" model="mail.template"> |
|
149 | 57 | <field name="auto_delete" eval="False" /> |
150 | 58 | <field name="lang">{{object.partner_id.lang}}</field> |
151 | 59 | <field name="body_html" type="html"> |
152 | | - <table |
153 | | - border="0" |
154 | | - width="100%" |
155 | | - cellpadding="0" |
156 | | - bgcolor="#ededed" |
157 | | - style="padding: 20px; background-color: #ededed; border-collapse:separate;" |
158 | | - > |
159 | | - <tbody> |
160 | | - <!-- HEADER --> |
161 | | - <tr> |
162 | | - <td align="center" style="min-width: 590px;"> |
163 | | - <table |
164 | | - width="590" |
165 | | - border="0" |
166 | | - cellpadding="0" |
167 | | - bgcolor="#875A7B" |
168 | | - style="min-width: 590px; background-color: rgb(135,90,123); padding: 20px; border-collapse:separate;" |
169 | | - > |
170 | | - <tr> |
171 | | - <td valign="middle" align="right"> |
172 | | - <img |
173 | | - t-att-src="'/logo.png?company=%s' % object.company_id.id" |
174 | | - style="padding: 0px; margin: 0px; height: auto; width: 80px;" |
175 | | - t-att-alt="'%s' % object.company_id.name" |
176 | | - /> |
177 | | - </td> |
178 | | - </tr> |
179 | | - </table> |
180 | | - </td> |
181 | | - </tr> |
182 | | - <!-- CONTENT --> |
183 | | - <tr> |
184 | | - <td align="center" style="min-width: 590px;"> |
185 | | - <table |
186 | | - width="590" |
187 | | - border="0" |
188 | | - cellpadding="0" |
189 | | - bgcolor="#ffffff" |
190 | | - style="min-width: 590px; background-color: rgb(255, 255, 255); padding: 20px; border-collapse:separate;" |
191 | | - > |
192 | | - <tbody> |
193 | | - <td |
194 | | - valign="top" |
195 | | - style="font-family:Arial,Helvetica,sans-serif; color: #555; font-size: 14px;" |
196 | | - > |
197 | | - <p>Hello <t |
198 | | - t-out="object.user_id.name" |
199 | | - />,</p> |
200 | | - <p>The ticket "<t |
201 | | - t-out="object.display_name" |
202 | | - />" stage has changed to <t |
203 | | - t-out="object.stage_id.name" |
204 | | - />.</p> |
205 | | - </td> |
206 | | - </tbody> |
207 | | - </table> |
208 | | - </td> |
209 | | - </tr> |
210 | | - <!-- FOOTER --> |
211 | | - <tr> |
212 | | - <td align="center" style="min-width: 590px;"> |
213 | | - <table |
214 | | - width="590" |
215 | | - border="0" |
216 | | - cellpadding="0" |
217 | | - bgcolor="#875A7B" |
218 | | - style="min-width: 590px; background-color: rgb(135,90,123); padding: 20px; border-collapse:separate;" |
219 | | - > |
220 | | - <tr> |
221 | | - <td |
222 | | - valign="middle" |
223 | | - align="left" |
224 | | - style="color: #fff; padding-top: 10px; padding-bottom: 10px; font-size: 12px;" |
225 | | - > |
226 | | - <t t-out="object.company_id.phone" /> |
227 | | - </td> |
228 | | - <td |
229 | | - valign="middle" |
230 | | - align="left" |
231 | | - style="color: #fff; padding-top: 10px; padding-bottom: 10px; font-size: 12px;" |
232 | | - > |
233 | | - <t t-out="object.company_id.email" /> |
234 | | - </td> |
235 | | - <td |
236 | | - valign="middle" |
237 | | - align="left" |
238 | | - style="color: #fff; padding-top: 10px; padding-bottom: 10px; font-size: 12px;" |
239 | | - > |
240 | | - <t t-out="object.company_id.website" /> |
241 | | - </td> |
242 | | - </tr> |
243 | | - </table> |
244 | | - </td> |
245 | | - </tr> |
246 | | - </tbody> |
247 | | - </table> |
| 60 | + <p>Hello <t t-out="object.user_id.name" />,</p> |
| 61 | + <p> |
| 62 | + The ticket <t t-out="object.display_name" /> |
| 63 | + stage has changed to <t t-out="object.stage_id.name" />. |
| 64 | + </p> |
248 | 65 | </field> |
249 | 66 | </record> |
250 | 67 | <!-- Sequence --> |
|
0 commit comments