From cadef9c309cf7e3aaa73c3d100715f6f6a3e23c6 Mon Sep 17 00:00:00 2001 From: Julien Van Roy Date: Thu, 24 Nov 2022 09:41:52 +0000 Subject: [PATCH] [FIX] account_edi_ubl_cii: prevent translating some tags Some tags in Factur-X are translated (for instance: 'INVOICE' becomes 'FACTURE') and thus break the compliance tests of PDFA/3. Also prevent translating 'VAT' into 'TVA' because it breaks the factur-x/UBL tests. task-3077791 closes odoo/odoo#106467 X-original-commit: 9cc535f9515414fd1140f163c3b2269e273fd8f1 Signed-off-by: Julien Van Roy Signed-off-by: Laurent Smet --- .../data/cii_22_templates.xml | 40 +++++++++---------- .../data/ubl_20_templates.xml | 2 +- 2 files changed, 21 insertions(+), 21 deletions(-) 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 6b001fd7a4f..b1685a33467 100644 --- a/addons/account_edi_ubl_cii/data/cii_22_templates.xml +++ b/addons/account_edi_ubl_cii/data/cii_22_templates.xml @@ -60,7 +60,7 @@ - VAT + VAT @@ -248,7 +248,7 @@ - VAT + VAT @@ -339,34 +339,34 @@ - Factur-X PDFA Extension Schema + Factur-X PDFA Extension Schema urn:factur-x:pdfa:CrossIndustryDocument:invoice:1p0# fx - DocumentFileName - Text - external - name of the embedded XML invoice file + DocumentFileName + Text + external + name of the embedded XML invoice file - DocumentType - Text - external - INVOICE + DocumentType + Text + external + INVOICE - Version - Text - external - The actual version of the Factur-X XML schema + Version + Text + external + The actual version of the Factur-X XML schema - ConformanceLevel - Text - external - The conformance level of the embedded Factur-X data + ConformanceLevel + Text + external + The conformance level of the embedded Factur-X data @@ -377,7 +377,7 @@ EN 16931 factur-x.xml - INVOICE + INVOICE 1.0 diff --git a/addons/account_edi_ubl_cii/data/ubl_20_templates.xml b/addons/account_edi_ubl_cii/data/ubl_20_templates.xml index ad0dc7be80b..cd9ac769e8d 100644 --- a/addons/account_edi_ubl_cii/data/ubl_20_templates.xml +++ b/addons/account_edi_ubl_cii/data/ubl_20_templates.xml @@ -139,7 +139,7 @@ - VAT + VAT