[FIX] account: report_payment_receipt_document.xml

This commit fix the template "report_payment_receipt_document".

The template call the python method "_get_reconciled_invoices_partials" but
which signature was broken by https://github.com/odoo/odoo/commit/785d49f3f0a21720d8c929d597d4041918ab7f41

closes odoo/odoo#94579

Task-id: None
X-original-commit: 3ed9a07a3674d5ce5d4378acf589231a2867acc3
Signed-off-by: William André (wan) <wan@odoo.com>
Signed-off-by: Brice Bartoletti <bib@odoo.com>
This commit is contained in:
Brice bib Bartoletti
2022-06-24 19:34:25 +02:00
parent 40c7a4d705
commit c340c0ea9d
@@ -43,7 +43,7 @@
</tr>
</thead>
<tbody>
<t t-foreach="o.move_id._get_reconciled_invoices_partials()" t-as="rec">
<t t-foreach="o.move_id._get_reconciled_invoices_partials()[0]" t-as="rec">
<!-- MOVE -->
<t t-set="inv" t-value="rec[2].move_id"/>
<t t-if="inv.move_type != 'entry'">
@@ -54,7 +54,7 @@
<td class="text-right"><span t-field="inv.amount_total"/></td>
</tr>
<!-- PAYMENTS/REVERSALS -->
<tr t-foreach="inv._get_reconciled_invoices_partials()" t-as="par">
<tr t-foreach="inv._get_reconciled_invoices_partials()[0]" t-as="par">
<t t-set="amount" t-value="par[1]"/>
<t t-set="payment" t-value="par[2].move_id"/>
<td><span t-field="payment.date"/></td>