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 578cf68d751..e8f1a98bfb3 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 @@ -312,7 +312,7 @@ class AccountEdiXmlCII(models.AbstractModel): # ==== payment_reference ==== - payment_reference_node = tree.find('.//{*}BuyerOrderReferencedDocument/{*}IssuerAssignedID') + payment_reference_node = tree.find('./{*}SupplyChainTradeTransaction/{*}ApplicableHeaderTradeSettlement/{*}PaymentReference') if payment_reference_node is not None: invoice.payment_reference = payment_reference_node.text diff --git a/doc/cla/individual/petvoj.md b/doc/cla/individual/petvoj.md new file mode 100644 index 00000000000..4ff058e0e39 --- /dev/null +++ b/doc/cla/individual/petvoj.md @@ -0,0 +1,9 @@ +Czech Republic, 2024-03-14 + +I hereby agree to the terms of the Odoo Individual Contributor License Agreement v1.0. + +I declare that I am authorized and able to make this agreement and sign this declaration. + +Signed, + +Petr Vojta petvoj@gmail.com https://github.com/petvoj \ No newline at end of file