odoo/odoo#219990

Created by fw-bot
Merged at 21efea82a51220ac34efcb351e93e5de40cd29ac

Statuses:

label
odoo-dev:master-17.0-opw-4907827-fix_invalid_facturx-mcou-451727-fw
head
32bbfda4600944adb4b5b44f8111a4115c1f6f37
merged
10 months ago by Bugfix, Mathieu Coutant (mcou)
odoo/odoo
17.0 #217763
18.0 #218686
saas-18.1 #219799
saas-18.2 #219801
saas-18.3 #219804
saas-18.4 #219966
19.0
saas-19.1
saas-19.2
saas-19.3
master #219990

[FIX] account_edi_ubl_cii: fix FacturX validation issues

Issue:

There are several issues with the XML of FacturX.

Steps to reproduce:

Cause:

  1. The namespaces are not there (doc).
  2. We always input "42" as payment mean

Solution:

  1. Added namespaces xmlns:qdt="urn:un:unece:uncefact:data:standard:QualifiedDataType:100" and xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  2. Added the code "59" for SDD, a lot of codes could be added but this commit only handles this one

Ticket link
opw-4907827

Forward-Port-Of: #219804
Forward-Port-Of: #217763