mirror of
https://github.com/OCA/bank-payment.git
synced 2025-02-02 10:37:31 +02:00
Fallback to payment_ref if ref is undefined
This commit is contained in:
@@ -101,7 +101,9 @@
|
|||||||
<t
|
<t
|
||||||
t-if="line.move_line_id.move_id and 'in_' in line.move_line_id.move_id.move_type"
|
t-if="line.move_line_id.move_id and 'in_' in line.move_line_id.move_id.move_type"
|
||||||
>
|
>
|
||||||
<span t-field="line.move_line_id.move_id.ref" />
|
<span
|
||||||
|
t-esc="line.move_line_id.move_id.ref or line.move_line_id.move_id.payment_reference"
|
||||||
|
/>
|
||||||
</t>
|
</t>
|
||||||
<t t-else="">
|
<t t-else="">
|
||||||
<span t-esc="line.move_line_id.move_id.name" />
|
<span t-esc="line.move_line_id.move_id.name" />
|
||||||
|
|||||||
Reference in New Issue
Block a user