From 1e966452ff1c29b0e31048159780fc623e21a4b3 Mon Sep 17 00:00:00 2001 From: Nans Lefebvre Date: Tue, 15 Jan 2019 12:50:08 +0000 Subject: [FIX] l10n_be_invoice_bba: fix mail template The field reference_type has been renamed invoice_reference_type in v11. The selection value 'bba' for that field has been renamed 'structured'. We update the template to reflect these changes. Discovered thanks to a forward port of that field up to v12. closes odoo/odoo#30224 --- addons/l10n_be_invoice_bba/data/mail_template_data.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'addons/l10n_be_invoice_bba/data/mail_template_data.xml') diff --git a/addons/l10n_be_invoice_bba/data/mail_template_data.xml b/addons/l10n_be_invoice_bba/data/mail_template_data.xml index b7110f157e7..ea2d688cdb9 100644 --- a/addons/l10n_be_invoice_bba/data/mail_template_data.xml +++ b/addons/l10n_be_invoice_bba/data/mail_template_data.xml @@ -33,7 +33,7 @@ from ${object.company_id.name}. % endif

-% if object.reference_type=='bba' and object.reference: +% if object.invoice_reference_type=='structured' and object.reference:

Please use the following communication for your payment : ${object.reference}

% endif -- cgit v1.2.3