summaryrefslogtreecommitdiff
path: root/addons/l10n_be_invoice_bba
diff options
context:
space:
mode:
authorNans Lefebvre <len@odoo.com>2019-01-15 12:50:08 +0000
committerNans Lefebvre <len@odoo.com>2019-01-15 12:50:44 +0000
commit1e966452ff1c29b0e31048159780fc623e21a4b3 (patch)
treec00a60322fcd14b52c1f6c8850fe4c82483df425 /addons/l10n_be_invoice_bba
parent4f2f29953468e4de8aedf73461b0f76dbe1eeca8 (diff)
[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
Diffstat (limited to 'addons/l10n_be_invoice_bba')
-rw-r--r--addons/l10n_be_invoice_bba/data/mail_template_data.xml2
1 files changed, 1 insertions, 1 deletions
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
<br/><br/>
-% if object.reference_type=='bba' and object.reference:
+% if object.invoice_reference_type=='structured' and object.reference:
<p>Please use the following communication for your payment : <b>${object.reference}</b></p>
% endif