diff --git a/report/report_invoice_adhesion.xml b/report/report_invoice_adhesion.xml index 7965d6a5074714a7b0dd7eb01e351a0ba7f8c3c3..a90bd1df12494dce41525f651cc79f5b61212601 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>