From 17d953ae7d6f017aa6bf72e1098df6517bed75f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Tue, 6 Jan 2026 17:42:51 +0100 Subject: [PATCH] Fill buyer's item identification in UBL invoice Closes #14470 --- modules/edocument_ubl/CHANGELOG | 1 + modules/edocument_ubl/template/2/CreditNote.xml | 11 +++++++---- modules/edocument_ubl/template/2/Invoice.xml | 11 +++++++---- 3 files changed, 15 insertions(+), 8 deletions(-) diff --git a/modules/edocument_ubl/CHANGELOG b/modules/edocument_ubl/CHANGELOG index ae8fc7ba72..2d549b8429 100644 --- a/modules/edocument_ubl/CHANGELOG +++ b/modules/edocument_ubl/CHANGELOG @@ -1,3 +1,4 @@ +* Fill buyer's item identification Version 7.8.0 - 2025-12-15 -------------------------- diff --git a/modules/edocument_ubl/template/2/CreditNote.xml b/modules/edocument_ubl/template/2/CreditNote.xml index cf89ca9f84..c9f7d9a19f 100644 --- a/modules/edocument_ubl/template/2/CreditNote.xml +++ b/modules/edocument_ubl/template/2/CreditNote.xml @@ -95,11 +95,14 @@ this repository contains the full copyright notices and license terms. --> ${-line.amount} ${line.description} - ${line.product_name or line.summary} + ${line.product.name if line.product else line.summary} + + ${line.product_customer_code} + + + ${line.product_supplier_code} + - - ${line.product.code} - ${gtin} diff --git a/modules/edocument_ubl/template/2/Invoice.xml b/modules/edocument_ubl/template/2/Invoice.xml index 1b1a2ed8e8..1bd9683d0f 100644 --- a/modules/edocument_ubl/template/2/Invoice.xml +++ b/modules/edocument_ubl/template/2/Invoice.xml @@ -95,11 +95,14 @@ this repository contains the full copyright notices and license terms. --> ${line.amount} ${line.description} - ${line.product_name or line.summary} + ${line.product.name if line.product else line.summary} + + ${line.product_customer_code} + + + ${line.product_supplier_code} + - - ${line.product.code} - ${gtin}