Need to know whats wrong in the following Email Alert Template ( upon save)
Purchase Order {{ doc.name }} has been Created<hr>
<p>SUPPLIER: {{ doc.supplier_name }}<br>
PO Created by: {{ doc.owner }}<br>
PO Reference :
<span style="text-align: left; vertical-align: middle;">{{ _("#") }}{{ doc.name }}</span> {{ _("PO To:") }}: {{ doc.supplier_name }}<br>
{{ _("Address") }}: {{ doc.address_display }}</p>
<hr>
TITLE: {{ doc.title}}<br>
<table class="table table-condensed table-hover table-bordered" width="802">
<tbody><tr>
<th width="50">Sr</th>
<th width="100">Cat No</th>
<th width="400">Description</th>
<th class="text-right" width="100">Qty</th>
<td align="right" style="border-style: none; border-width: medium;" width="187">
<p dir="ltr">Pricelist Rate</p></td>
<td align="right" style="border-style: none; border-width: medium;" width="187">
Discount</td>
<td align="right" style="border-style: none; border-width: medium;" width="187">Rate</td>
<td align="right" style="border-style: none; border-width: medium;" width="176">
Required For</td>
</tr><tr>
<td width="188">{{ row.idx }}</td>
<td width="188">{{ row.item_code }}</td>
<td width="187">{{ row.description }}</td>
<td width="187">{{ row.qty }} {{ row.uom or row.stock_uom }}</td>
<td align="right" style="border-style: none; border-width: medium;" width="187">
{{
row.get_formatted("price_list_rate", doc) }}</td>
<td align="right" style="border-style: none; border-width: medium;" width="187">
{{
row.get_formatted("discount_percentage", doc) }}</td>
<td align="right" style="border-style: none; border-width: medium;" width="187">
{{
row.get_formatted("rate", doc) }}</td>
<td align="right" style="border-style: none; border-width: medium;" width="176">
{{
row.get_formatted("required_for", doc) }}</td>
</tr></tbody>
</table>
{{ doc.terms}}<br>
I am getting the following error
Error while evaluating Email Alert a8e9311dabac3138acd01add6e7d6fd41230e4f723edd7d0f138602c. Please fix your template. Did not save
How do I fix this ??
Thanks in Advance
Mahesh