summaryrefslogtreecommitdiff
path: root/addons
diff options
context:
space:
mode:
authorGoffin Simon <sig@odoo.com>2021-04-12 12:49:57 +0000
committerGoffin Simon <sig@odoo.com>2021-04-13 07:26:17 +0000
commita6bd962404dfd262c78c330f69388426b98f2d5a (patch)
treeb3a860551fe62fe366052a0116dcc10c9df40010 /addons
parent9c573d09a5f935d6cec5776c2dfc90a04732847c (diff)
[FIX] account_edi_ubl: payment_reference not available in efff format
Inspired from http://www.datypic.com/sc/ubl21/e-cac_PaymentMeans.html opw:2468492 closes odoo/odoo#69124 Signed-off-by: William André (wan) <wan@odoo.com>
Diffstat (limited to 'addons')
-rw-r--r--addons/account_edi_ubl/data/ubl_templates.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/addons/account_edi_ubl/data/ubl_templates.xml b/addons/account_edi_ubl/data/ubl_templates.xml
index 5af203cca65..9d60d952806 100644
--- a/addons/account_edi_ubl/data/ubl_templates.xml
+++ b/addons/account_edi_ubl/data/ubl_templates.xml
@@ -123,6 +123,7 @@
</cac:AccountingCustomerParty>
<cac:PaymentMeans>
<cbc:PaymentMeansCode listID="UN/ECE 4461" t-esc="payment_means_code"/>
+ <cbc:InstructionID t-esc="invoice.payment_reference"/>
<cbc:PaymentDueDate t-esc="invoice.invoice_date_due"/>
<cac:PayeeFinancialAccount t-if="invoice.journal_id.bank_account_id">
<cbc:ID schemeName="IBAN" t-esc="invoice.journal_id.bank_account_id.acc_number"/>