|
@ -8,45 +8,41 @@ |
|
|
<t t-call="report.internal_layout"> |
|
|
<t t-call="report.internal_layout"> |
|
|
<div class="page"> |
|
|
<div class="page"> |
|
|
<style> |
|
|
<style> |
|
|
.table1 {width: 50%} |
|
|
|
|
|
.table2 {width: 100%} |
|
|
|
|
|
.font {font-family: Helvetica, sans-serif;font-size: 10pt} |
|
|
|
|
|
.bold {font-weight: bold} |
|
|
|
|
|
.space {padding-right: 0.3em;} |
|
|
.space {padding-right: 0.3em;} |
|
|
</style> |
|
|
</style> |
|
|
<table class="table1 table-condensed"> |
|
|
|
|
|
|
|
|
<table class="table-condensed"> |
|
|
<tr> |
|
|
<tr> |
|
|
<td class="font bold"><span>From:</span></td> |
|
|
|
|
|
<td class="font"><u><span t-field="o.email_from"/></u></td> |
|
|
|
|
|
|
|
|
<th>From:</th> |
|
|
|
|
|
<td><u><span t-field="o.email_from"/></u></td> |
|
|
</tr> |
|
|
</tr> |
|
|
<tr> |
|
|
<tr> |
|
|
<td class="font bold"><span>To:</span></td> |
|
|
|
|
|
<td class="font" t-foreach="o.partner_ids" t-as="p"><span t-field="p.name"/> <t t-if="p.email"> <u><span t-field="p.email"></span></u></t></td> |
|
|
|
|
|
|
|
|
<th>To:</th> |
|
|
|
|
|
<td t-foreach="o.partner_ids" t-as="p"><span t-field="p.name"/> <t t-if="p.email"> <u><span t-field="p.email"></span></u></t></td> |
|
|
</tr> |
|
|
</tr> |
|
|
<tr> |
|
|
<tr> |
|
|
<td class="font bold"><span>Subject:</span></td> |
|
|
|
|
|
<td class="font"><span t-field="o.subject"/></td> |
|
|
|
|
|
|
|
|
<th>Subject:</th> |
|
|
|
|
|
<td><span t-field="o.subject"/></td> |
|
|
</tr> |
|
|
</tr> |
|
|
<tr> |
|
|
<tr> |
|
|
<td class="font bold"><span>Date:</span></td> |
|
|
|
|
|
<td class="font"><span t-field="o.date"/></td> |
|
|
|
|
|
|
|
|
<th><span>Date:</span></th> |
|
|
|
|
|
<td><span t-field="o.date"/></td> |
|
|
</tr> |
|
|
</tr> |
|
|
</table> |
|
|
</table> |
|
|
<div style ="height: 1cm"> </div> |
|
|
<div style ="height: 1cm"> </div> |
|
|
<table class="table2 table-condensed"> |
|
|
|
|
|
|
|
|
<table class="table-condensed"> |
|
|
<tr> |
|
|
<tr> |
|
|
<td class="font"><span t-field="o.body"/></td> |
|
|
|
|
|
|
|
|
<td><span t-field="o.body"/></td> |
|
|
</tr> |
|
|
</tr> |
|
|
</table> |
|
|
</table> |
|
|
<t t-if="o.attachment_ids" > |
|
|
<t t-if="o.attachment_ids" > |
|
|
<div style ="height: 2cm"> </div> |
|
|
<div style ="height: 2cm"> </div> |
|
|
<table class="table table-condensed"> |
|
|
<table class="table table-condensed"> |
|
|
<tr> |
|
|
<tr> |
|
|
<td class="font bold"><span>Attachments</span></td> |
|
|
|
|
|
|
|
|
<th>Attachments</th> |
|
|
</tr> |
|
|
</tr> |
|
|
<tr t-foreach="o.attachment_ids" t-as="l"> |
|
|
<tr t-foreach="o.attachment_ids" t-as="l"> |
|
|
<td class="font"><span t-field="l.name"/></td> |
|
|
|
|
|
<td class="font"><span class="space" t-field="l.file_size"></span><span>Bytes</span></td> |
|
|
|
|
|
|
|
|
<td><span t-field="l.name"/></td> |
|
|
|
|
|
<td><span class="space" t-field="l.file_size"></span><span>Bytes</span></td> |
|
|
</tr> |
|
|
</tr> |
|
|
</table> |
|
|
</table> |
|
|
</t> |
|
|
</t> |
|
|