Untitled
unknown
plain_text
3 years ago
3.8 kB
8
Indexable
<!--Mail Template for Service Proposal Alert-->
<record id="service_proposal_alert_mailll" model="mail.template">
<field name="name">Service Proposal (Alert) - Send by Email</field>
<field name="model_id" ref="crm_extended.model_sale_order"/>
<field name="subject">Service Proposal (Alert): {{object.name}}</field>
<field name="report_template" ref="sale.action_report_saleorder"/>
<field name="email_from">{{object.team_id.user_id.employee_id.work_email}}</field>
<field name="email_to">{{','.join([str(partner) for partner in
object.team_id.member_ids.mapped('partner_id.email')])}}
</field>
<field name="auto_delete" eval="False"/>
<field name="body_html"><![CDATA[
<table border="0" cellpadding="0" cellspacing="0" width="100%" style="background-color: white; padding: 0; border-collapse:separate;">
<tr><td valign="middle">
<span style="font-size: 10px;">Your Service Engagement</span><br/>
<span style="font-size: 20px; font-weight: bold;">
<strong><t t-out="object.name or ''"></t></strong>
</span>
</td><td valign="middle" align="right">
<div style="width: 45%;float: top;">
<img src='/web/binary/company_logo' style="width:30%"/>
</div>
</td></tr>
<tr><td colspan="2" style="text-align:center;">
<hr width="100%" style="background-color:rgb(204,204,204);border:medium none;clear:both;display:block;font-size:0px;min-height:1px;line-height:0; margin:4px 0px 32px 0px;"/>
</td></tr>
</table>
<p> Dear <strong><t t-out="object.team_id.name or ''"></t></strong> Team,
<br/>
<br/>
Service Proposal of <strong><t t-out="object.name or ''"></t></strong> amounting in <strong><t t-out="object.amount_total or ''"></t></strong> is Forget to review. You Missed the Review on time, Kindly Check it.
<br/>
Do not hesitate to contact us if you have any questions.
<br/>
<br/>
<p align="center">
<a target="_blank" href="${ctx.get('url')}" style="border-radius: 25px;padding:10px;color: #fefefe;background-color: #ea714b;border-style: solid;" class='oe_highlight'">
<b>View Service Proposal</b>
</a>
</p>
<br/>
<br/>
<br/>
Regards,<br/>
<strong><t t-out="object.user_id.name or ''"></t></strong>
<br/>
<br/>
<br/>
<p align="center">----------------------------------This is a system generated email----------------------------------------------</p></p>
<tr align="center">
<td align="center" style="min-width: 590px; padding: 0 8px 0 8px; font-size:11px;">
<hr width="100%" style="background-color:rgb(204,204,204);border:medium none;clear:both;display:block;font-size:0px;min-height:1px;line-height:0; margin: 16px 0px 4px 0px;"/>
<b><t t-out="object.company_id.name or ''"></t><b/>
<div style="color: #999999;">
<t t-out="object.company_id.phone or ''"></t> |
<t t-out="object.company_id.email or ''"></t> |
<t t-out="object.company_id.website or ''"></t>
</div>
</td>
</tr>
]]>
</field>
</record>
Editor is loading...