Odoo Email template with table
Odoo 8
Probuse Admin
Start writing here...Odoo 8.0 Code
Below code to modify in email template to add table.
<body>
<div>
<span>The following timesheets for ${object.employee_id.name} are overdue:</span>
</div>
<table id="email_template">
<tr style="background: #99CCFF;">
<td width="24%" style="text-align:center;">
<span><b>Period</b></span>
</td>
<td width="11%" style="text-align:center;">
<strong>Billable Hours</strong>
</td>
<td width="11%" style="text-align:center;">
<strong>Non-Billable Hours</strong>
</td>
<td width="11%" style="text-align:center;">
<strong>Time Off</strong>
</td>
<td width="11%" style="text-align:center;">
<strong> Total Hours </strong>
</td>
<td width="11%" style="text-align:center;">
<strong>Productivity Months</strong>
</td>
<td width="20%" style="text-align:center;">
<strong>Current Productivity</strong>
</td>
</tr>
<tr>
<td width="24%" style="text-align:center;">
<span>${object.date_from} To ${object.date_to}</span>
</td>
</tr>
</table>
</body>