[IMP] account_payment_order: report show the invoice number or the move name

This commit is contained in:
Enric Tobella
2018-05-23 13:08:00 +02:00
committed by Pedro M. Baeza
parent b554366afe
commit cec3b4aafc
2 changed files with 2 additions and 2 deletions

View File

@@ -9,7 +9,7 @@
{
'name': 'Account Payment Order',
'version': '10.0.1.4.0',
'version': '10.0.1.5.0',
'license': 'AGPL-3',
'author': "ACSONE SA/NV, "
"Therp BV, "

View File

@@ -76,7 +76,7 @@
<span t-esc="get_bank_account_name(line.partner_bank_id)"/>
</td>
<td class="text-center">
<span t-raw="'%s &lt;br&gt;' % line.move_line_id.move_id.name if line.move_line_id.move_id else ''"/>
<span t-raw="'%s &lt;br&gt;' % 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"/>