summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--addons/account/views/report_payment_receipt_templates.xml14
1 files changed, 8 insertions, 6 deletions
diff --git a/addons/account/views/report_payment_receipt_templates.xml b/addons/account/views/report_payment_receipt_templates.xml
index c19460f4d51..2bd649e9aa8 100644
--- a/addons/account/views/report_payment_receipt_templates.xml
+++ b/addons/account/views/report_payment_receipt_templates.xml
@@ -46,12 +46,14 @@
<tr t-foreach="o.move_id._get_reconciled_invoices_partials()" t-as="rec">
<t t-set="amount" t-value="rec[1]"/>
<t t-set="inv" t-value="rec[2].move_id"/>
- <td><span t-field="inv.invoice_date"/></td>
- <td><span t-field="inv.name"/></td>
- <td><span t-field="inv.ref"/></td>
- <td class="text-right"><span t-field="inv.amount_total"/></td>
- <td class="text-right"><span t-esc="amount" t-options="{'widget': 'monetary', 'display_currency': inv.currency_id}"/></td>
- <td class="text-right"><span t-field="inv.amount_residual"/></td>
+ <t t-if="inv.move_type != 'entry'">
+ <td><span t-field="inv.invoice_date"/></td>
+ <td><span t-field="inv.name"/></td>
+ <td><span t-field="inv.ref"/></td>
+ <td class="text-right"><span t-field="inv.amount_total"/></td>
+ <td class="text-right"><span t-esc="amount" t-options="{'widget': 'monetary', 'display_currency': inv.currency_id}"/></td>
+ <td class="text-right"><span t-field="inv.amount_residual"/></td>
+ </t>
</tr>
</tbody>
</table>