mirror of
https://github.com/OCA/bank-payment.git
synced 2025-02-02 10:37:31 +02:00
[FIX] report should show the invoice number, not the move name (#477)
[IMP] account_payment_order: report show the invoice number or the move name
This commit is contained in:
committed by
Carlos Roca
parent
0896ab6227
commit
c58175bd6d
@@ -8,7 +8,7 @@
|
||||
|
||||
{
|
||||
'name': 'Account Payment Order',
|
||||
'version': '11.0.1.2.0',
|
||||
'version': '11.0.1.2.1',
|
||||
'license': 'AGPL-3',
|
||||
'author': "ACSONE SA/NV, "
|
||||
"Therp BV, "
|
||||
|
||||
@@ -76,7 +76,7 @@
|
||||
<span t-esc="get_bank_account_name(line.partner_bank_id)"/>
|
||||
</td>
|
||||
<td class="text-center">
|
||||
<span t-raw="'%s <br>' % line.move_line_id.move_id.name if line.move_line_id.move_id else ''"/>
|
||||
<span t-raw="'%s <br>' % line.move_line_id.invoice_id.number or line.move_line_id.move_id.name or ''"/>
|
||||
</td>
|
||||
<td class="text-center">
|
||||
<span t-field="line.date"/>
|
||||
|
||||
Reference in New Issue
Block a user