diff --git a/addons/account_edi_ubl_cii/data/cii_22_templates.xml b/addons/account_edi_ubl_cii/data/cii_22_templates.xml index 4e105d6992b..d0c51fcb049 100644 --- a/addons/account_edi_ubl_cii/data/cii_22_templates.xml +++ b/addons/account_edi_ubl_cii/data/cii_22_templates.xml @@ -97,6 +97,17 @@ + + + + + + + + + + + @@ -201,6 +212,7 @@ + diff --git a/addons/account_edi_ubl_cii/models/account_edi_xml_cii_facturx.py b/addons/account_edi_ubl_cii/models/account_edi_xml_cii_facturx.py index e1b13cee6bb..b5d9f00aedf 100644 --- a/addons/account_edi_ubl_cii/models/account_edi_xml_cii_facturx.py +++ b/addons/account_edi_ubl_cii/models/account_edi_xml_cii_facturx.py @@ -189,7 +189,7 @@ class AccountEdiXmlCII(models.AbstractModel): if supplier.country_id.code == 'DE': template_values['document_context_id'] = "urn:cen.eu:en16931:2017#compliant#urn:xoev-de:kosit:standard:xrechnung_2.2" else: - template_values['document_context_id'] = "urn:cen.eu:en16931:2017" + template_values['document_context_id'] = "urn:cen.eu:en16931:2017#conformant#urn:factur-x.eu:1p0:extended" return template_values diff --git a/addons/l10n_account_edi_ubl_cii_tests/tests/test_files/from_odoo/facturx_out_invoice.xml b/addons/l10n_account_edi_ubl_cii_tests/tests/test_files/from_odoo/facturx_out_invoice.xml index e8cef1afbb6..8c7f1a242ba 100644 --- a/addons/l10n_account_edi_ubl_cii_tests/tests/test_files/from_odoo/facturx_out_invoice.xml +++ b/addons/l10n_account_edi_ubl_cii_tests/tests/test_files/from_odoo/facturx_out_invoice.xml @@ -1,7 +1,7 @@ - urn:cen.eu:en16931:2017 + urn:cen.eu:en16931:2017#conformant#urn:factur-x.eu:1p0:extended @@ -118,6 +118,15 @@ partner_1 + + partner_1 + + +1 (650) 555-0111 + + + partner1@yourcompany.com + + 75000 Rue Jean Jaurès, 42 @@ -130,6 +139,9 @@ partner_2 + + partner_2 + 52330 Rue Charles de Gaulle @@ -147,6 +159,9 @@ partner_2 + + partner_2 + 52330 Rue Charles de Gaulle diff --git a/addons/l10n_account_edi_ubl_cii_tests/tests/test_files/from_odoo/facturx_out_refund.xml b/addons/l10n_account_edi_ubl_cii_tests/tests/test_files/from_odoo/facturx_out_refund.xml index 4a311a0d812..d1ff9a33470 100644 --- a/addons/l10n_account_edi_ubl_cii_tests/tests/test_files/from_odoo/facturx_out_refund.xml +++ b/addons/l10n_account_edi_ubl_cii_tests/tests/test_files/from_odoo/facturx_out_refund.xml @@ -1,7 +1,7 @@ - urn:cen.eu:en16931:2017 + urn:cen.eu:en16931:2017#conformant#urn:factur-x.eu:1p0:extended @@ -118,6 +118,15 @@ partner_1 + + partner_1 + + +1 (650) 555-0111 + + + partner1@yourcompany.com + + 75000 Rue Jean Jaurès, 42 @@ -130,6 +139,9 @@ partner_2 + + partner_2 + 52330 Rue Charles de Gaulle @@ -147,6 +159,9 @@ partner_2 + + partner_2 + 52330 Rue Charles de Gaulle