You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
56 lines
2.3 KiB
56 lines
2.3 KiB
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
<!-- Template for vehicle inspection reminder email-->
|
|
<data noupdate="1">
|
|
<record id="vehicle_inspection_reminder_email_template"
|
|
model="mail.template">
|
|
<field name="name">Vehicle Inspection Notification Email</field>
|
|
<field name="email_from">{{object.user_id.company_id.email}}
|
|
</field>
|
|
<field name="subject">{{object.name}} -
|
|
{{object.inspection_id.name}}
|
|
</field>
|
|
<field name="model_id"
|
|
ref="fleet_vehicle_inspection_management.model_inspection_request"/>
|
|
<field name="email_to">{{object.user_id.email}}</field>
|
|
<field name="auto_delete" eval="True"/>
|
|
<field name="body_html" type="html">
|
|
<p>Dear<t t-out="object.user_id.name"/>,
|
|
</p>
|
|
<ul>This Email is about Vehicle Inspection Notification as
|
|
below:
|
|
<t t-out="object.inspection_date"/>
|
|
<br/>
|
|
<table border="1">
|
|
<thead>
|
|
<tr>
|
|
<th width="200">Vehicle</th>
|
|
<th width="200">Model</th>
|
|
<th width="200">License Plate</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td width="200">
|
|
<t t-out="object.vehicle_id.name"/>
|
|
</td>
|
|
<td width="200">
|
|
<t t-out="object.vehicle_model_id.name"/>
|
|
</td>
|
|
<td width="200">
|
|
<t t-out="object.license_plate"/>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<br/>
|
|
<br/>
|
|
<p/>
|
|
</ul>
|
|
<font size="3">
|
|
<p>Thank you,</p>
|
|
</font>
|
|
</field>
|
|
</record>
|
|
</data>
|
|
</odoo>
|