[FIX] account_payment_order: Fallback to payment_ref if ref is undefined

This commit is contained in:
Bert Driehuis
2022-03-18 17:00:57 +01:00
committed by Pedro M. Baeza
parent eedc6300b5
commit 91421d3019

View File

@@ -101,7 +101,9 @@
<t
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-else="">
<span t-esc="line.move_line_id.move_id.name" />