From 0b54c8eaa90b0d945430c36f43efb3e79c99ad37 Mon Sep 17 00:00:00 2001 From: Benjamin <benjamin@le-filament.com> Date: Tue, 20 Apr 2021 14:19:11 +0200 Subject: [PATCH] [update] check number on report --- report/report_check_deposit.xml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/report/report_check_deposit.xml b/report/report_check_deposit.xml index ba6a29b..6d558b5 100644 --- a/report/report_check_deposit.xml +++ b/report/report_check_deposit.xml @@ -82,7 +82,15 @@ <span t-esc="o.get_bank(move_line).bank_id.name"/> </t> </td> - <td><span t-field="move_line.ref"/></td> + <td> + <!-- if move line from manual payment --> + <t t-if="'CUST' in move_line.name"> + <span t-field="move_line.ref"/> + </t> + <t t-else=""> + <span t-field="move_line.name"/> + </t> + </td> <td> <t t-if="o.currency_id == o.company_id.currency_id"> <span t-field="move_line.debit" t-field-options='{"widget": "monetary", "display_currency": "o.currency_id"}'/> -- GitLab