Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
2602 Ansichten

The printing of the payment receipt on any payment registered in Odoo 12, inserts only the invoices reconciled with the payment amount. But there is the addon account_voucher that generates vouchers of purchases and sales that, like the invoices, can be reconciled.

Within the Qweb of payment receipts there is a foreach with the ids of reconciled invoices, instead of that list I would like to insert the lines of reconciled vouchers, or both, invoices and vouchers  

.

.

.

<tbody>
<tr t-foreach="o.reconciled_invoice_ids" t-as="inv">
<td><span t-field="inv.date_invoice"/></td>
<td><span t-field="inv.number"/></td>
<td class="text-right"><span t-field="inv.amount_total"/></td>
<td class="text-right"><span t-esc="o._get_invoice_payment_amount(inv)" t-options="{'widget': 'monetary', 'display_currency': inv.currency_id}"/></td>
<td class="text-right"><span t-field="inv.residual"/></td>
</tr>
</tbody>

Avatar
Verwerfen
Verknüpfte Beiträge Antworten Ansichten Aktivität
2
Jan. 19
4059
2
Okt. 22
5764
2
März 21
3928
2
März 21
9039
0
Dez. 20
3819