From cf78804899f3f4fc915fceaf89b91fd9cf407cad Mon Sep 17 00:00:00 2001 From: benjamin <benjamin@le-filament.com> Date: Wed, 22 Jun 2022 19:21:22 +0200 Subject: [PATCH] [fix] error report --- report/report_invoice_adhesion.xml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/report/report_invoice_adhesion.xml b/report/report_invoice_adhesion.xml index 7965d6a..a90bd1d 100644 --- a/report/report_invoice_adhesion.xml +++ b/report/report_invoice_adhesion.xml @@ -21,15 +21,15 @@ <xpath expr="//div[hasclass('page')]/h2" position="after"> <h2 t-if="is_adh"> <span - t-if="o.type == 'out_invoice' and o.state in ('open', 'in_payment', 'paid')" + t-if="o.move_type == 'out_invoice' and o.state in ('open', 'in_payment', 'paid')" >Droits d'adhésion</span> <span - t-if="o.type == 'out_invoice' and o.state == 'draft'" + t-if="o.move_type == 'out_invoice' and o.state == 'draft'" >Brouillon adhésion</span> <span - t-if="o.type == 'out_invoice' and o.state == 'cancel'" + t-if="o.move_type == 'out_invoice' and o.state == 'cancel'" >Annulation adhésion</span> - <span t-field="o.number" /> + <span t-field="o.name" /> </h2> </xpath> -- GitLab